box.space._priv | Tarantool
Tarantool
Check out the new release policy
Submodule box.space box.space._priv

box.space._priv

box.space._priv

_priv is a system space where privileges are stored.

Tuples in this space contain the following fields:

  • the numeric id of the user who gave the privilege (“grantor_id”),
  • the numeric id of the user who received the privilege (“grantee_id”),
  • the type of object: ‘space’, ‘index’, ‘function’, ‘sequence’, ‘user’, ‘role’, or ‘universe’,
  • the numeric id of the object,
  • the type of operation: “read” = 1, “write” = 2, “execute” = 4, “create” = 32, “drop” = 64, “alter” = 128, or a combination such as “read,write,execute”.

See Access control for details about user privileges.

The system space view for _priv is _vpriv.