From 700f65012eadbcdaa2ae86d2200c309070434219 Mon Sep 17 00:00:00 2001 From: zhangwenhao Date: Thu, 18 Apr 2024 14:16:44 +0800 Subject: [PATCH 1/2] Fix #177: The api for the role's access to the specified graph in the Rights management documentation --- docs/en-US/source/10.permission/1.privilege.md | 7 ++++++- docs/zh-CN/source/10.permission/1.privilege.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/en-US/source/10.permission/1.privilege.md b/docs/en-US/source/10.permission/1.privilege.md index 59c569b9f7..d49ba8a1ba 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..44737db9de 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'}) ``` From 1794dd19a005bbedcaf89f8ef90668f0639720ec Mon Sep 17 00:00:00 2001 From: zhangwenhao Date: Thu, 18 Apr 2024 15:50:38 +0800 Subject: [PATCH 2/2] Fix #177: The api for the role's access to the specified graph in the Rights management documentation --- docs/en-US/source/10.permission/1.privilege.md | 2 +- docs/zh-CN/source/10.permission/1.privilege.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en-US/source/10.permission/1.privilege.md b/docs/en-US/source/10.permission/1.privilege.md index d49ba8a1ba..46730fc554 100644 --- a/docs/en-US/source/10.permission/1.privilege.md +++ b/docs/en-US/source/10.permission/1.privilege.md @@ -133,7 +133,7 @@ CALL dbms.security.rebuildUserRoles(user::STRING,roles::LIST) ```cypher CALL dbms.security.modRoleAccessLevel(role::STRING,access_level::MAP) ``` -_Example_ +Example ```cypher CALL dbms.security.modRoleAccessLevel('test_role', {test_graph1:'FULL', test_graph2:'NONE'}) diff --git a/docs/zh-CN/source/10.permission/1.privilege.md b/docs/zh-CN/source/10.permission/1.privilege.md index 44737db9de..27e00bd477 100644 --- a/docs/zh-CN/source/10.permission/1.privilege.md +++ b/docs/zh-CN/source/10.permission/1.privilege.md @@ -130,7 +130,7 @@ CALL dbms.security.rebuildUserRoles(user::STRING,roles::LIST) ```cypher CALL dbms.security.modRoleAccessLevel(role::STRING,access_level::MAP) ``` -_示例_ +示例 ```cypher CALL dbms.security.modRoleAccessLevel('test_role', {test_graph1:'FULL', test_graph2:'NONE'})