schema: revoke role priveleges when dropping an object
Currently, only user privileges are revoked. If an object has a role privilege, an attempt to drop it will fail: > box.space.test:drop() --- - error: User '6' is not found ... Fix it and add a test case. Closes #2710
Showing
- src/box/lua/schema.lua 13 additions, 15 deletionssrc/box/lua/schema.lua
- test/box/access.result 88 additions, 0 deletionstest/box/access.result
- test/box/access.test.lua 30 additions, 0 deletionstest/box/access.test.lua
- test/engine/iterator.result 1 addition, 1 deletiontest/engine/iterator.result
- test/engine/savepoint.result 6 additions, 6 deletionstest/engine/savepoint.result
Loading
Please register or sign in to comment