This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 7f9cdc41f5 [typo](docs)add new describe for grant (#19656)
7f9cdc41f5 is described below
commit 7f9cdc41f53a1570e4e98d13c9e6902c707a06da
Author: lsy3993 <[email protected]>
AuthorDate: Thu May 18 09:00:39 2023 +0800
[typo](docs)add new describe for grant (#19656)
---
.../sql-reference/Account-Management-Statements/GRANT.md | 8 ++++----
.../sql-reference/Account-Management-Statements/GRANT.md | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
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 52e66345d6..a4751cfb5b 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
@@ -73,9 +73,9 @@ Permission classification:
Priv_level supports the following four forms:
1. *.*.* permissions can be applied to all catalogs, all databases and all
tables in them
- 2. ctl.*.* permissions can be applied to all databases and all tables in
them
- 3. ctl.db.* permissions can be applied to all tables under the specified
database
- 4. ctl.db.tbl permission can be applied to the specified table under the
specified database
+ 2. catalog_name.*.* permissions can be applied to all databases and all
tables in them
+ 3. catalog_name.db.* permissions can be applied to all tables under the
specified database
+ 4. catalog_name.db.tbl permission can be applied to the specified table
under the specified database
The catalog or database, table specified here may be not exist.
@@ -84,7 +84,7 @@ resource_name supports the following two forms:
1. * Permissions apply to all resources
2. The resource permission applies to the specified resource
- The resource specified here can be a non-existing resource.
+ The resource specified here can be a non-existing resource. In addition,
please distinguish the resources here from external tables, and use catalog as
an alternative if you use external tables.
user_identity:
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 9ef9aff820..d5509f70a8 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
@@ -73,18 +73,18 @@ privilege_list 是需要赋予的权限列表,以逗号分隔。当前 Doris
priv_level 支持以下四种形式:
1. *.*.* 权限可以应用于所有catalog及其中的所有库表
- 2. ctl.*.* 权限可以应用于指定catalog中的所有库表
- 3. ctl.db.* 权限可以应用于指定库下的所有表
- 4. ctl.db.tbl 权限可以应用于指定库下的指定表
+ 2. catalog_name.*.* 权限可以应用于指定catalog中的所有库表
+ 3. catalog_name.db.* 权限可以应用于指定库下的所有表
+ 4. catalog_name.db.tbl 权限可以应用于指定库下的指定表
- 这里指定的ctl或库或表可以是不存在的库和表。
+ 这里指定的catalog_name或库或表可以是不存在的库和表。
resource_name 支持以下两种形式:
1. * 权限应用于所有资源
2. resource 权限应用于指定资源
- 这里指定的资源可以是不存在的资源。
+ 这里指定的资源可以是不存在的资源。另外,这里的资源请跟外部表区分开,有使用外部表的情况请都使用catalog作为替代。
user_identity:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]