We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement user role management commands supporting the following functionalities:
> role create <role-name> [<privilege>, ...] role created. > role delete <role-name> > role get <role-name> permission set [<privilege>, ...] > role get <role-name> permission add <privilege> > role get <role-name> permission remove <privilege> role updated. > role list +-----+---------------+-------------------------+ | no. | name | privileges | +-----+---------------+-------------------------+ | 1. | admin | user:create | | | | user:list | | | | user:delete | | | | database:create | | | | database:list | | | | database:delete | | | | access:*:*:* | | 2. | role1 | access:db1:* | | | | access:db2:data:read | | 3. | role2 | access:db2:* | +-----+---------------+-------------------------+
- user:create - user:list - user:delete - database:create - database:list - database:delete - access:*:schema:write - access:*:schema:read - access:*:data:write - access:*:data:read
schema:write
schema:read
data:write
data:read
user:*
access:*:*:*
access:*:data:read
> user list +-----+--------+-----------------+ | no. | name | role | +-----+--------+-----------------| | 1. | admin | admin | | 2. | user1 | role1 | | 3. | user2 | role1 | | 4. | | role2 | +-----+--------+-----------------+
The text was updated successfully, but these errors were encountered:
lolski
No branches or pull requests
Implement user role management commands supporting the following functionalities:
Role
Privileges
Access
schema:write
:schema:read
schema:read
data:write
:schema:read
data:read
data:read
:schema:read
Wildcard
user:*
access:*:*:*
access:*:data:read
User
The text was updated successfully, but these errors were encountered: