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 1/6] 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}};` From 995fa026310e90d93534c875cbbc4f4f673f3783 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:08:15 +0800 Subject: [PATCH 2/6] odps-auth: shorthand Change-Id: I3a0cd20a86c78b2a596e1c2175149ebe93f1d5e1 --- pages/common/odps-auth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md index a3dc8feb0..0e918f2b2 100644 --- a/pages/common/odps-auth.md +++ b/pages/common/odps-auth.md @@ -1,4 +1,4 @@ -# odps authority +# odps auth > Manaage authorities in ODPS (Open Data Processing Service). From 18d901ba4662c774c40bc5817ff9cc39dc06a371 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:19:55 +0800 Subject: [PATCH 3/6] odps-auth: update Change-Id: I7164568e8ee03ae503cf07cf6bbd5d370395e428 --- pages/common/odps-auth.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md index 0e918f2b2..162059583 100644 --- a/pages/common/odps-auth.md +++ b/pages/common/odps-auth.md @@ -4,15 +4,15 @@ - Show authorities of a user: -`show grants for {{account_name}};` +`show grants for {{user_name}};` - Add user to current project: -`add user {{account_name}};` +`add user {{user_name}};` - Grant a set of authorities to a user: -`grant {{action_list}} on {{object}} {{object_name}} to user {{account_name}};` +`grant {{action_list}} on {{object}} {{object_name}} to user {{user_name}};` - Create a role: From df4710948162b15e4cb921617e78cdbdc06cadb7 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:20:57 +0800 Subject: [PATCH 4/6] odps-auth: typo Change-Id: I2a8ea11be6267868c790eb6357c525c6b1d79715 --- pages/common/odps-auth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md index 162059583..304648eb8 100644 --- a/pages/common/odps-auth.md +++ b/pages/common/odps-auth.md @@ -1,6 +1,6 @@ # odps auth -> Manaage authorities in ODPS (Open Data Processing Service). +> Manage authorities in ODPS (Open Data Processing Service). - Show authorities of a user: From e3e486e0802d3a29c2882376649b3316f457e654 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: Sat, 14 May 2016 11:20:48 +0800 Subject: [PATCH 5/6] odps-auth: update Change-Id: Ibdf4b76b3c720610d1abf48dd29e173c02cd51f4 --- pages/common/odps-auth.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md index 304648eb8..16dba967b 100644 --- a/pages/common/odps-auth.md +++ b/pages/common/odps-auth.md @@ -14,14 +14,14 @@ `grant {{action_list}} on {{object}} {{object_name}} to user {{user_name}};` -- Create a role: +- Create a user 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 a user role to a user: `grant {{role_name}} to {{user_name}};` + +- Grant a set of authorities to a user role: + +`grant {{action_list}} on {{object}} {{object_name}} to role {{role_name}};` From 443a206d19c8805eab2bc461a923b3b17410ae69 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: Sun, 15 May 2016 10:56:50 +0800 Subject: [PATCH 6/6] odps-auth: {{object}} to {{object_type}} Change-Id: Icbbd48ce29c3687cebae78dd1c965d85aae7aae1 --- pages/common/odps-auth.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md index 16dba967b..4d5965600 100644 --- a/pages/common/odps-auth.md +++ b/pages/common/odps-auth.md @@ -12,16 +12,16 @@ - Grant a set of authorities to a user: -`grant {{action_list}} on {{object}} {{object_name}} to user {{user_name}};` +`grant {{action_list}} on {{object_type}} {{object_name}} to user {{user_name}};` - Create a user role: `create role {{role_name}};` -- Grant a user role to a user: +- 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}} {{object_name}} to role {{role_name}};` +`grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`