Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 583 Bytes

access-create-role.rst

File metadata and controls

12 lines (10 loc) · 583 Bytes

You must have the :authaction:`createRole` :ref:`action <security-user-actions>` on a database to create a role on that database.

You must have the :authaction:`grantRole` :ref:`action <security-user-actions>` on the database that a privilege targets in order to grant that privilege to a role. If the privilege targets multiple databases or the cluster resource , you must have the :authaction:`grantRole` action on the admin database.

You must have the :authaction:`grantRole` :ref:`action <security-user-actions>` on a role's database to grant the role to another role.