mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 20:56:57 +00:00
Update cheatsheets
This commit is contained in:
38
odps-auth
Normal file
38
odps-auth
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# odps auth
|
||||
|
||||
> User authorities in ODPS (Open Data Processing Service).
|
||||
> See also `odps`.
|
||||
> More information: <https://www.alibabacloud.com/help/doc-detail/27971.htm>.
|
||||
|
||||
- Add a user to the current project:
|
||||
|
||||
`add user {{username}};`
|
||||
|
||||
- Grant a set of authorities to a user:
|
||||
|
||||
`grant {{action_list}} on {{object_type}} {{object_name}} to user {{username}};`
|
||||
|
||||
- Show authorities of a user:
|
||||
|
||||
`show grants for {{username}};`
|
||||
|
||||
- Create a user role:
|
||||
|
||||
`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:
|
||||
|
||||
`desc role {{role_name}};`
|
||||
|
||||
- Grant a role to a user:
|
||||
|
||||
`grant {{role_name}} to {{username}};`
|
||||
Reference in New Issue
Block a user