From e9fe30d3293f1446f79e1a879b0ce05e01f12150 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: Mon, 16 May 2016 09:43:04 +0800 Subject: [PATCH] odps-auth: add desc role Change-Id: I76664ed2070a2367071e25a1640dbf0055721ae6 --- pages/common/odps-auth.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/common/odps-auth.md b/pages/common/odps-auth.md index d547f6dfa..ee742b72b 100644 --- a/pages/common/odps-auth.md +++ b/pages/common/odps-auth.md @@ -1,6 +1,6 @@ # odps auth -> Manage authorities in ODPS (Open Data Processing Service). +> User authorities in ODPS (Open Data Processing Service). - Show authorities of a user: @@ -18,10 +18,14 @@ `create role {{role_name}};` +- Describe authorities of a role: + +`desc 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 a set of authorities to a role: `grant {{action_list}} on {{object_type}} {{object_name}} to role {{role_name}};`