I am using Neo4j version 5 Enterprise Edition. We wanted to use property based RBAC . According to documentation the below cypher should work .
GRANT READ {*} ON GRAPH * FOR (n) WHERE n.securityLevel > 3 TO regularUsers
But I get the below error.
The GRANT READ clause is not available in this implementation of Cypher due to lack of support for Property value access rules. (line 1, column 1 (offset: 0))
"GRANT READ {*} ON GRAPH * FOR (n) WHERE n.securityLevel > 3 TO regularUsers"
^
It looks like you are using an version older than 5.21 where Property value access rules got released. Try to upgrade and see if that solves your issue.