【发布时间】:2020-02-21 19:03:48
【问题描述】:
我使用只有读取权限的 Neo4j 数据库。
我正在尝试运行一些算法。例如。社区检测算法.scc。
根据documentation algo.scc 有一个参数write 其中
指定结果是否应作为节点属性写回。
但是,当我将 write 设置为 false 运行它时
CALL algo.scc('Employee','MANAGES', {write:false})
YIELD loadMillis, computeMillis, writeMillis, setCount, maxSetSize, minSetSize;
我收到以下错误:
Neo.ClientError.Security.Forbidden: Write operations are not allowed for user 'dm00221' with roles [reader].
我在带有{write:false} 选项的文档中找不到任何示例。
我做错了什么?
【问题讨论】:
标签: neo4j permissions graph-algorithm