Skip to content

Commit

Permalink
more specified in which cases we will throw an error in Cypher 25
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesSandberg committed Jan 15, 2025
1 parent 213750b commit 41bf15b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Use `REVOKE` if you want to remove a privilege.
====

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

The hierarchy between the different database privileges is shown in the image below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Use `REVOKE` if you want to remove a privilege.
====

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

The general `GRANT` and `DENY` syntaxes are illustrated in the following image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ REVOKE ROLES role1, role2 FROM user1, user2, user3
----

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

[[access-control-drop-roles]]
Expand Down

0 comments on commit 41bf15b

Please sign in to comment.