Skip to content

Commit 65ecdd8

Browse files
Update REVOKE information to say that in cypher 25 you get errors for impossible revoke commands (#2009)
1 parent 520b236 commit 65ecdd8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

modules/ROOT/pages/authentication-authorization/database-administration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Use `REVOKE` if you want to remove a privilege.
179179
====
180180

181181
Common errors, such as misspellings or attempts to revoke privileges that have not been granted or denied, will lead to notifications.
182-
Some of these notifications may be replaced with errors in a future major version of Neo4j.
182+
In Cypher 25, notifications for impossible `REVOKE` commands, where a user, a role, or a database does not exist, have been replaced with errors.
183183
See link:{neo4j-docs-base-uri}/status-codes/{page-version}/notifications/all-notifications[Status Codes for Errors & Notifications -> Server notifications] for details on notifications.
184184

185185
The hierarchy between the different database privileges is shown in the image below.

modules/ROOT/pages/authentication-authorization/manage-privileges.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Use `REVOKE` if you want to remove a privilege.
197197
====
198198

199199
Common errors, such as misspellings or attempts to revoke privileges that have not been granted or denied, will result in notifications.
200-
Some of these notifications may be replaced with errors in a future major version of Neo4j.
200+
In Cypher 25, notifications for impossible `REVOKE` commands, where a user, a role, or a database does not exist, have been replaced with errors.
201201
See link:{neo4j-docs-base-uri}/status-codes/{page-version}/notifications/all-notifications[Status Codes -> Notification codes] for details on notifications.
202202

203203
The general `GRANT` and `DENY` syntaxes are illustrated in the following image:

modules/ROOT/pages/authentication-authorization/manage-roles.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ REVOKE ROLES role1, role2 FROM user1, user2, user3
814814
----
815815

816816
Common errors, such as misspellings or attempts to revoke roles from users who have not been granted those roles, will lead to notifications.
817-
Some of these notifications may be replaced with errors in a future major version of Neo4j.
817+
In Cypher 25, notifications for impossible `REVOKE` commands, where a user, a role, or a database does not exist, have been replaced with errors.
818818
See link:{neo4j-docs-base-uri}/status-codes/{page-version}/notifications/all-notifications[Status Codes -> Notification codes] for details on notifications.
819819

820820
[[access-control-drop-roles]]

0 commit comments

Comments
 (0)