是否可以注释访问Neo4j中的用户功能?

问题描述:

在用户定义的过程我可以限制与被许可的注释是这样的访问:是否可以注释访问Neo4j中的用户功能?

@Procedure(value = "search",allowed = "admin",mode = Mode.READ) 
    public Stream<Node> search(@Name("label") String label) 
    { 
    ... 

是否有可能限制与注释的访问@UserFunction吗?

事实上,在最近的3.2.x版本中,事情已经改变了。现在一切都由neo4j.conf配置设置来管理。查询http://neo4j.com/docs/operations-manual/current/reference/configuration-settings/#config_dbms.security.procedures.roles了解更多详情。用户功能也覆盖。

您会注意到@Procedure不再具有“允许”选项。

希望这会有所帮助。

Regards, Tom