Fix a unit test that has changed in 91078c0
Non admin database users shouldn't be able to drop series. See #736 for more detailspull/644/head
parent
e196277309
commit
e349e22d42
|
@ -54,7 +54,7 @@ func (self *PermissionsSuite) TestAuthorizeDropSeries(c *C) {
|
|||
c.Assert(ok, Equals, true)
|
||||
|
||||
ok, _ = self.permissions.AuthorizeDropSeries(self.commonUser, "db", "series")
|
||||
c.Assert(ok, Equals, true)
|
||||
c.Assert(ok, Equals, false)
|
||||
|
||||
ok, err = self.permissions.AuthorizeDropSeries(self.commonUserNoWrite, "db", "series")
|
||||
c.Assert(ok, Equals, false)
|
||||
|
|
Loading…
Reference in New Issue