box.schema.role.revoke()
-
box.schema.role.
revoke
(role-name, privilege, object-type, object-name)¶ Revoke privileges from a role.
Parameters: The role must exist, and the object must exist, but it is not an error if the role does not have the privilege.
Variation: instead of
object-type, object-name
say ‘universe’ which means ‘all object-types and all objects’.Variation: instead of
privilege, object-type, object-name
sayrole-name
.Example:
box.schema.role.revoke('Accountant', 'read', 'space', 'tester') box.schema.role.revoke('Accountant', 'execute', 'function', 'f') box.schema.role.revoke('Accountant', 'read,write', 'universe') box.schema.role.revoke('public', 'Accountant')