mirror of https://github.com/CrimsonTome/tldr.git
odps-auth: add desc role
Change-Id: I76664ed2070a2367071e25a1640dbf0055721ae6waldyrious/alt-syntax
parent
41d2d7503d
commit
e9fe30d329
|
@ -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}};`
|
||||||
|
|
Loading…
Reference in New Issue