You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by lu...@apache.org on 2023/05/14 15:52:25 UTC
[doris] branch master updated: [doc](grant)add the version for grant for user; (#19556)
This is an automated email from the ASF dual-hosted git repository.
luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 80886af828 [doc](grant)add the version for grant for user; (#19556)
80886af828 is described below
commit 80886af8288db1af63114b4fee64a8cd8d8661f5
Author: Hong Liu <84...@qq.com>
AuthorDate: Sun May 14 23:52:18 2023 +0800
[doc](grant)add the version for grant for user; (#19556)
---
.../sql-manual/sql-reference/Account-Management-Statements/GRANT.md | 2 ++
.../sql-manual/sql-reference/Account-Management-Statements/GRANT.md | 2 ++
2 files changed, 4 insertions(+)
diff --git a/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md b/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md
index c2bf7930a8..52e66345d6 100644
--- a/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md
+++ b/docs/en/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md
@@ -131,6 +131,8 @@ role_list is the list of roles to be assigned, separated by commas,the specified
```sql
GRANT USAGE_PRIV ON RESOURCE 'spark_resource' TO ROLE 'my_role';
````
+
+<version since="2.0.0"></version>
7. Grant the specified role to a user
diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md b/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md
index d444bacb95..9ef9aff820 100644
--- a/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md
+++ b/docs/zh-CN/docs/sql-manual/sql-reference/Account-Management-Statements/GRANT.md
@@ -131,6 +131,8 @@ role_list 是需要赋予的角色列表,以逗号分隔,指定的角色必
```sql
GRANT USAGE_PRIV ON RESOURCE 'spark_resource' TO ROLE 'my_role';
```
+
+<version since="2.0.0"></version>
7. 将指定角色授予某用户
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org