From b67da53549b5484554a14153bb05a34d5a4179e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E4=BA=A6=E8=B6=85=28=E4=BD=95=E5=85=AE=29?= Date: Thu, 12 May 2016 21:05:53 +0800 Subject: [PATCH] odps-auth: add page Change-Id: Ic871dd39c9b866054fde3f7c083b145d4c7e9a72 --- pages/common/odps-auth.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/odps-auth.md diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md new file mode 100644 index 000000000..a3dc8feb0 --- /dev/null +++ b/pages/common/odps-auth.md @@ -0,0 +1,27 @@ +# odps authority + +> Manaage authorities in ODPS (Open Data Processing Service). + +- Show authorities of a user: + +`show grants for {{account_name}};` + +- Add user to current project: + +`add user {{account_name}};` + +- Grant a set of authorities to a user: + +`grant {{action_list}} on {{object}} {{object_name}} to user {{account_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}};`