mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-16 12:55:44 +02:00
odps-auth: reorder commands
Change-Id: I58c9b5451853171cd5d084877576f606068d1984
This commit is contained in:
parent
e9fe30d329
commit
b75e25a7fb
1 changed files with 8 additions and 8 deletions
|
@ -2,10 +2,6 @@
|
||||||
|
|
||||||
> User authorities in ODPS (Open Data Processing Service).
|
> User authorities in ODPS (Open Data Processing Service).
|
||||||
|
|
||||||
- Show authorities of a user:
|
|
||||||
|
|
||||||
`show grants for {{user_name}};`
|
|
||||||
|
|
||||||
- Add a user to the current project:
|
- Add a user to the current project:
|
||||||
|
|
||||||
`add user {{user_name}};`
|
`add user {{user_name}};`
|
||||||
|
@ -14,10 +10,18 @@
|
||||||
|
|
||||||
`grant {{action_list}} on {{object_type}} {{object_name}} to user {{user_name}};`
|
`grant {{action_list}} on {{object_type}} {{object_name}} to user {{user_name}};`
|
||||||
|
|
||||||
|
- Show authorities of a user:
|
||||||
|
|
||||||
|
`show grants for {{user_name}};`
|
||||||
|
|
||||||
- Create a user role:
|
- Create a user role:
|
||||||
|
|
||||||
`create role {{role_name}};`
|
`create role {{role_name}};`
|
||||||
|
|
||||||
|
- Grant a set of authorities to a role:
|
||||||
|
|
||||||
|
`grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`
|
||||||
|
|
||||||
- Describe authorities of a role:
|
- Describe authorities of a role:
|
||||||
|
|
||||||
`desc role {{role_name}};`
|
`desc role {{role_name}};`
|
||||||
|
@ -25,7 +29,3 @@
|
||||||
- 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 role:
|
|
||||||
|
|
||||||
`grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue