You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: data exception - invalid list for property based access control rule. The expression `{ <<expr>> }` is not supported. Lists containing `{ <<exprType>> }` values are not supported for property-based access control.
5
+
6
+
== Example scenario
7
+
8
+
For example, try to add a property based access control rule including a list with a NULL type:
9
+
10
+
[source,cypher]
11
+
----
12
+
GRANT TRAVERSE ON GRAPH * FOR (n) WHERE n.prop1 IN ["string value", NULL] TO role
13
+
----
14
+
15
+
You will receive an error with GQLSTATUS xref:errors/gql-errors/22NA0.adoc[22NA0].
16
+
This error will have a cause with GQLSTATUS 42NAA and the status description
17
+
18
+
19
+
[source]
20
+
----
21
+
error: data exception - invalid list for property based access control rule. The expression 'n.prop1 IN ["string value", NULL]' is not supported. Lists containing NULL values are not supported for property-based access control.
error: data exception - mixed type list for property based access control rule. The expression `{ <<expr>> }` is not supported. All elements in a list must be literals of the same type for property-based access control.
5
+
6
+
== Example scenario
7
+
8
+
For example, try to add a property based access control rule including a list with mixed types:
9
+
10
+
[source,cypher]
11
+
----
12
+
GRANT TRAVERSE ON GRAPH * FOR (n) WHERE n.prop1 IN ["string value", 5] TO role
13
+
----
14
+
15
+
You will receive an error with GQLSTATUS xref:errors/gql-errors/22NA0.adoc[22NA0].
16
+
This error will have a cause with GQLSTATUS 42NAB and the status description
17
+
18
+
19
+
[source]
20
+
----
21
+
error: data exception - mixed type list for property based access control rule. The expression 'n.prop1 IN ["string value", 5]' is not supported. All elements in a list must be literals of the same type for property-based access control.
0 commit comments