Skip to content

Commit 84d163a

Browse files
Lojjsrenetapopova
andauthored
Apply suggestions from code review
Co-authored-by: Reneta Popova <[email protected]>
1 parent 3e5a236 commit 84d163a

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

modules/ROOT/pages/errors/gql-errors/22NAA.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
= 22NAA
22

33
== Status description
4-
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.
4+
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.
55

66
== Example scenario
77

8-
For example, try to add a property based access control rule including a list with a NULL type:
8+
For example, try to add a property-based access control rule including a list with a `NULL` type:
99

1010
[source,cypher]
1111
----
1212
GRANT TRAVERSE ON GRAPH * FOR (n) WHERE n.prop1 IN ["string value", NULL] TO role
1313
----
1414

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
15+
You will receive an error with GQLSTATUS xref:errors/gql-errors/22NA0.adoc[22NA0] and a cause with GQLSTATUS 22NAA and the following status description:
1716

1817

1918
[source]
2019
----
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.
20+
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.
2221
----
2322

2423
ifndef::backend-pdf[]

modules/ROOT/pages/errors/gql-errors/22NAB.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
= 22NAB
22

33
== Status description
4-
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.
4+
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.
55

66
== Example scenario
77

8-
For example, try to add a property based access control rule including a list with mixed types:
8+
For example, try to add a property-based access control rule that contains a list of mixed types:
99

1010
[source,cypher]
1111
----
1212
GRANT TRAVERSE ON GRAPH * FOR (n) WHERE n.prop1 IN ["string value", 5] TO role
1313
----
1414

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
15+
You will receive an error with GQLSTATUS xref:errors/gql-errors/22NA0.adoc[22NA0] and a cause with GQLSTATUS 22NAB and the following status description:
1716

1817

1918
[source]

0 commit comments

Comments
 (0)