From e94d4656d8cd19f5bd31dd2ae726c2829d6c75a7 Mon Sep 17 00:00:00 2001 From: Liu Shaohui Date: Wed, 8 Jan 2020 15:39:10 +0800 Subject: [PATCH] Fix roles typo in privilege document (#2702) --- docs/documentation/cn/administrator-guide/privilege.md | 2 +- docs/documentation/en/administrator-guide/privilege_EN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/documentation/cn/administrator-guide/privilege.md b/docs/documentation/cn/administrator-guide/privilege.md index 02367126ed..befdd1a378 100644 --- a/docs/documentation/cn/administrator-guide/privilege.md +++ b/docs/documentation/cn/administrator-guide/privilege.md @@ -53,7 +53,7 @@ Doris 新的权限管理系统参照了 Mysql 的权限管理机制,做到了 6. 删除角色:DROP ROLE 7. 查看当前用户权限:SHOW GRANTS 8. 查看所有用户权限:SHOW ALL GRANTS -9. 查看已创建的角色:SHOW ROELS +9. 查看已创建的角色:SHOW ROLES 10. 查看用户属性:SHOW PROPERTY 关于以上命令的详细帮助,可以通过 mysql 客户端连接 Doris 后,使用 help + command 获取帮助。如 `HELP CREATE USER`。 diff --git a/docs/documentation/en/administrator-guide/privilege_EN.md b/docs/documentation/en/administrator-guide/privilege_EN.md index 724e0164de..157aec67a2 100644 --- a/docs/documentation/en/administrator-guide/privilege_EN.md +++ b/docs/documentation/en/administrator-guide/privilege_EN.md @@ -53,7 +53,7 @@ Doris's new privilege management system refers to Mysql's privilege management m 6. Delete Roles: DROP ROLE 7. View current user privileges: SHOW GRANTS 8. View all user privilegesSHOW ALL GRANTS; -9. View the created roles: SHOW ROELS +9. View the created roles: SHOW ROLES 10. View user attributes: SHOW PROPERTY For detailed help with the above commands, you can use help + command to get help after connecting Doris through the MySQL client. For example `HELP CREATE USER`.