cancel
Showing results for 
Search instead for 
Did you mean: 

Set property for property 'time' on database 'neo4j' is not allowed for user 'neo4j' with roles [PUB

mco180
Node

Hi,

I want to export my cypher graph using "CALL apoc.export.graphml.query" method. In this code, there is SET property and when i execute this code then i get an error as;

Set property for property 'time' on database 'neo4j' is not allowed for user 'neo4j' with roles [PUBLIC, admin, architect, editor, overridden, publisher, reader] overridden by READ.

However, this code works fine alone but inside apoc.export.graphml.query, i get an error like above.

 

Thank you. 

3 REPLIES 3

glilienfield
Ninja
Ninja

I looked at the source code. The apoc.export.graphml.query procedure is a read only procedure, those it will not allow any write operations.  

mco180
Node

Is there any configuration setting like "dbms.security.procedure" in this process otherwise we can not do this operation ?

No. It is hard coded in the procedure’s definition itself. Each custom procedure is defined with a mode of read or write.  This procedure’s mode is read.