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] 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 304648eb89..16dba967ba 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}};`