forked from vesoft-inc/nebula
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...atement-syntax/2.data-query-and-manipulation-statements/delete-vertex-syntax.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ations/server-administration/account-management-statements/grant-role-syntax.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# GRANT ROLE 语法 | ||
|
||
```ngql | ||
REVOKE ROLE <role_type> ON <space> FROM <user> | ||
GRANT ROLE <role_type> ON <space> TO <user> | ||
``` | ||
|
||
使用 `GRANT` 语句为 **Nebula Graph** 用户授予权限。使用 `GRANT` 必须拥有 `GRANT` 权限。 | ||
|
||
目前 **Nebula Graph** 包含四种角色权限:`GOD`、`ADMIN`、`DBA` 和 `GUEST`。 | ||
目前 **Nebula Graph** 包含五种角色权限:`GOD`、`ADMIN`、`DBA`、`USER` 和 `GUEST`。 | ||
|
||
通常,需要先使用 `CREATE USER` 创建帐户,然后再使用 `GRANT` 为其授予权限。待授予的角色以及用户帐户必须存在,否则会发生错误。 | ||
通常,需要先使用 `CREATE USER` 创建帐户,然后再使用 `GRANT` 为其授予权限(假设你拥有 `CREATE` 和 `GRANT` 权限)。待授予的角色以及用户帐户必须存在,否则会发生错误。 | ||
|
||
`<space>` 必须指定为存在的图空间,否则会发生错误。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...atement-syntax/2.data-query-and-manipulation-statements/delete-vertex-syntax.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters