Skip to content

Commit 6eef889

Browse files
Lojjsrenetapopova
andauthored
Apply suggestions from code review
Co-authored-by: Reneta Popova <[email protected]>
1 parent adc787f commit 6eef889

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

modules/ROOT/pages/errors/gql-errors/42NA8.adoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
error: syntax error or access rule violation - invalid reference in command. Invalid reference in command `{ <<cmd>> }`.
55

66
== Explanation
7-
This error occurs as the cause of other exceptions, for example, when trying to grant or deny privileges to, or revoke privileges from, a role that does not exist.
8-
Another example is when you try to grant or deny privileges to, or revoke privileges from, a role to perform administration commands on a database that does not exist.
9-
A third example is when you try to revoke a role from a user in Cypher 25, where either the role or the user does not exist.
10-
In Cypher 5, this last example will instead give a notification, see xref:notifications/all-notifications.adoc/#_neo_clientnotification_security_impossiblerevokecommand[Impossible revoke command].
7+
8+
This error occurs as the cause of other exceptions, for example, when you try to:
9+
10+
* Grant or deny privileges to, or revoke privileges from, a role that does not exist.
11+
* Grant or deny privileges to, or revoke privileges from, a role to perform administration commands on a database that does not exist.
12+
* Revoke a role from a user in Cypher 25, where either the role or the user does not exist.
13+
In Cypher 5, this last example gives a notification instead, see xref:notifications/all-notifications.adoc#_neo_clientnotification_security_impossiblerevokecommand[Impossible revoke command].
1114

1215
== Example scenario
1316

0 commit comments

Comments
 (0)