odps-auth: add desc role

Change-Id: I76664ed2070a2367071e25a1640dbf0055721ae6
waldyrious/alt-syntax
程亦超(何兮) 2016-05-16 09:43:04 +08:00
parent 41d2d7503d
commit e9fe30d329
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# odps auth # odps auth
> Manage authorities in ODPS (Open Data Processing Service). > User authorities in ODPS (Open Data Processing Service).
- Show authorities of a user: - Show authorities of a user:
@ -18,10 +18,14 @@
`create role {{role_name}};` `create role {{role_name}};`
- Describe authorities of a role:
`desc role {{role_name}};`
- Grant a role to a user: - Grant a role to a user:
`grant {{role_name}} to {{user_name}};` `grant {{role_name}} to {{user_name}};`
- Grant a set of authorities to a user role: - Grant a set of authorities to a role:
`grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};` `grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`