Files
tldr/pages/common/odps-auth.md
程亦超(何兮) 18d901ba46 odps-auth: update
Change-Id: I7164568e8ee03ae503cf07cf6bbd5d370395e428
2016-05-12 21:19:55 +08:00

553 B

odps auth

Manaage 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}} {{object_name}} to user {{user_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}};