1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/odps-auth.md
2020-02-08 19:56:05 +01:00

31 lines
630 B
Markdown

# odps auth
> User authorities in ODPS (Open Data Processing Service).
- 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}};`