Permission management of a project

Last Updated: Oct 28, 2017

Statement Description
list users View all users added to the project.
add user <username> Add a user.
remove user <username> Remove a user.

Role management

Statement Description
list roles View all users created.
create role <rolename> Create a role.
drop role <rolename> Delete a role.
grant <rolelist> to <username> Assign one or multiple roles to a user.
revoke <rolelist> from <username> Revoke the role from a user.

ACL authorization

Statement Description
grant <privList> on <objType> <objName> to user <username> Authorize a user.
grant <privList> on <objType> <objName> to role <rolename> Authorize a role.
revoke <privList> on <objType> <objName> from user <username> Revoke user authorization.
revoke <privList> on <objType> <objName> from role <rolename> Revoke role authorization.

Permission review

Statement Description
whoami View the information about the current user.
show grants [for <username>] [on type <objectType>] View the permission and role of a user.
show acl for <objectName> [on type <objectType>] View the authorization of a specific object.
describe role <roleName> View the authorization and role of a role.
Thank you! We've received your feedback.