box.schema.role.revoke()
-
box.schema.role.revoke(role-name, permissions, object-type, object-name)¶ Отмена прав роли.
Параметры: - role-name (
string) – the name of the role - permissions (
string) – one or more permissions to revoke from the role (for example,readorread,write) - object-type (
string) – a database object type to revoke permissions from (for example,space,role, orfunction) - object-name (
string) – the name of a database object to revoke permissions from
Должна существовать роль, должен существовать объект, но ошибка не выпадет, если у роли нет прав.
Variation: instead of
object-type, object-namesayuniversewhich means „all object-types and all objects“.Variation: instead of
permissions, object-type, object-namesayrole-name.See also: Managing roles.
- role-name (