mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:53:11 +02:00
odps-auth: add page
Change-Id: Ic871dd39c9b866054fde3f7c083b145d4c7e9a72
This commit is contained in:
parent
f4e69318b7
commit
b67da53549
1 changed files with 27 additions and 0 deletions
27
pages/common/odps-auth.md
Normal file
27
pages/common/odps-auth.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# odps authority
|
||||||
|
|
||||||
|
> Manaage authorities in ODPS (Open Data Processing Service).
|
||||||
|
|
||||||
|
- Show authorities of a user:
|
||||||
|
|
||||||
|
`show grants for {{account_name}};`
|
||||||
|
|
||||||
|
- Add user to current project:
|
||||||
|
|
||||||
|
`add user {{account_name}};`
|
||||||
|
|
||||||
|
- Grant a set of authorities to a user:
|
||||||
|
|
||||||
|
`grant {{action_list}} on {{object}} {{object_name}} to user {{account_name}};`
|
||||||
|
|
||||||
|
- Create a role:
|
||||||
|
|
||||||
|
`create role {{role_name}};`
|
||||||
|
|
||||||
|
- Grant a set of authorities to a role:
|
||||||
|
|
||||||
|
`grant {{action_list}} on {{object}} {{object_name}} to role {{role_name}};`
|
||||||
|
|
||||||
|
- Grant a role to a user:
|
||||||
|
|
||||||
|
`grant {{role_name}} to {{user_name}};`
|
Loading…
Add table
Reference in a new issue