Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Grantor_name is the user who grants the privileges.
Principal_name is the target which grantor grants privileges to.
The value of principal_type are USER or ROLE.
Collection_priv is the privilege to a collection, like SELECT, INSERT, UPDATE, etc.


For some collections which have alias, it will first get the real collection of the alias. Privilege verification will be based on the real collection not the alias. Collections stored in the privileges table are also the real collection, not the alias.


7、Privileges of resource DATABASE (Not used now)

...