From 7994f7f8e222a905406eb4a2b0ac2231b9d16d57 Mon Sep 17 00:00:00 2001 From: foesa <35463247+foesa-yang@users.noreply.github.com> Date: Thu, 2 Feb 2023 16:36:35 +0800 Subject: [PATCH] Update 3.role-list.md --- docs-2.0/7.data-security/1.authentication/3.role-list.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs-2.0/7.data-security/1.authentication/3.role-list.md b/docs-2.0/7.data-security/1.authentication/3.role-list.md index 44f98fb2230..76ea4d1edee 100644 --- a/docs-2.0/7.data-security/1.authentication/3.role-list.md +++ b/docs-2.0/7.data-security/1.authentication/3.role-list.md @@ -159,12 +159,16 @@ nebula> > SHOW GRANTS test; nebula> REVOKE READ,WRITE EDGE * FROM test; # Show `test` user permissions -nebula> SHOW GRANTS test +nebula> SHOW GRANTS test; +--------+------------+------------+------------+-------------+ | user | READ(TAG) | READ(EDGE) | WRITE(TAG) | WRITE(EDGE) | +--------+------------+------------+------------+-------------+ | "test" | ["player"] | [] | ["player"] | [] | +--------+------------+------------+------------+-------------+ + +# When Basic role users read data without permission, the following error will occur. +nebula> MATCH (v:player)-[:likex]-() RETURN v; +[ERROR (-1008)]: PermissionError: Edge `likex' does not exist or is not readable. ``` !!! caution