diff --git a/docs/en-US/source/10.permission/1.privilege.md b/docs/en-US/source/10.permission/1.privilege.md index 59c569b9f7..46730fc554 100644 --- a/docs/en-US/source/10.permission/1.privilege.md +++ b/docs/en-US/source/10.permission/1.privilege.md @@ -131,5 +131,10 @@ CALL dbms.security.rebuildUserRoles(user::STRING,roles::LIST) - Modifies the access permission of a role to a specified graph ```cypher -CALL dbms.security.modSpecifiedAccessLevel(role::STRING,access_level::MAP) +CALL dbms.security.modRoleAccessLevel(role::STRING,access_level::MAP) ``` +Example + +```cypher +CALL dbms.security.modRoleAccessLevel('test_role', {test_graph1:'FULL', test_graph2:'NONE'}) +``` \ No newline at end of file diff --git a/docs/zh-CN/source/10.permission/1.privilege.md b/docs/zh-CN/source/10.permission/1.privilege.md index 30b26dd16f..27e00bd477 100644 --- a/docs/zh-CN/source/10.permission/1.privilege.md +++ b/docs/zh-CN/source/10.permission/1.privilege.md @@ -128,5 +128,10 @@ CALL dbms.security.rebuildUserRoles(user::STRING,roles::LIST) - 修改角色对指定图的访问权限 ```cypher -CALL dbms.security.modSpecifiedAccessLevel(role::STRING,access_level::MAP) +CALL dbms.security.modRoleAccessLevel(role::STRING,access_level::MAP) +``` +示例 + +```cypher +CALL dbms.security.modRoleAccessLevel('test_role', {test_graph1:'FULL', test_graph2:'NONE'}) ```