mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-07 09:39:15 +03:00
commit
039d257804
27
pages/common/odps-auth.md
Normal file
27
pages/common/odps-auth.md
Normal file
@ -0,0 +1,27 @@
|
||||
# odps auth
|
||||
|
||||
> Manage authorities in ODPS (Open Data Processing Service).
|
||||
|
||||
- Show authorities of a user:
|
||||
|
||||
`show grants for {{user_name}};`
|
||||
|
||||
- Add user to current project:
|
||||
|
||||
`add user {{user_name}};`
|
||||
|
||||
- Grant a set of authorities to a user:
|
||||
|
||||
`grant {{action_list}} on {{object_type}} {{object_name}} to user {{user_name}};`
|
||||
|
||||
- Create a user role:
|
||||
|
||||
`create role {{role_name}};`
|
||||
|
||||
- Grant a role to a user:
|
||||
|
||||
`grant {{role_name}} to {{user_name}};`
|
||||
|
||||
- Grant a set of authorities to a user role:
|
||||
|
||||
`grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`
|
Loading…
Reference in New Issue
Block a user