1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 21:24:54 +02:00
tldr/pages/common/odps-auth.md
程亦超(何兮) 443a206d19 odps-auth: {{object}} to {{object_type}}
Change-Id: Icbbd48ce29c3687cebae78dd1c965d85aae7aae1
2016-05-15 10:56:50 +08:00

27 lines
572 B
Markdown

# 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}};`