box.schema.role.revoke() | Tarantool
Документация на русском языке
поддерживается сообществом

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, read or read,write)
  • object-type (string) – a database object type to revoke permissions from (for example, space, role, or function)
  • object-name (string) – the name of a database object to revoke permissions from

Должна существовать роль, должен существовать объект, но ошибка не выпадет, если у роли нет прав.

Variation: instead of object-type, object-name say universe which means „all object-types and all objects“.

Variation: instead of permissions, object-type, object-name say role-name.

See also: Managing roles.

Нашли ответ на свой вопрос?
Обратная связь