From d525002da90f2aaf858daee9b301daa93a90c145 Mon Sep 17 00:00:00 2001 From: Hannes Sandberg Date: Fri, 17 Jan 2025 13:33:32 +0100 Subject: [PATCH 1/3] add information about new errors for revoke commands in the additions/removals section --- ...eprecations-additions-removals-compatibility.adoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index b57d87d75..0f967636f 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -173,6 +173,18 @@ Graph name parts with special characters may require additional escaping of thos Note that escaping graph names within the graph functions string argument is not supported in Cypher 5. + +a| +label:functionality[] +label:updated[] +[source, cypher, role="noheader"] +---- +REVOKE READ {*} ON GRAPH * NODES A FROM regularUser +REVOKE ROLE regularUser FROM bob +---- +a| +Notifications for impossible `REVOKE` commands, where a user, a role, or a database does not exist, have been replaced with errors. + |=== === New features From ef03a0e694c683c0cdec44d7bc7351f00e1a4dff Mon Sep 17 00:00:00 2001 From: Hannes Sandberg Date: Tue, 4 Feb 2025 09:57:43 +0100 Subject: [PATCH 2/3] moved to removed section --- ...ions-additions-removals-compatibility.adoc | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 0f967636f..64337fbd0 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -83,6 +83,17 @@ Instead, use the xref:functions/scalar.adoc#functions-properties[`properties()`] MATCH (n)-[r:REL]->(m) SET n = properties(r) ---- +a| +label:functionality[] +label:removed[] +[source, cypher, role="noheader"] +---- +REVOKE READ {*} ON GRAPH * NODES A FROM regularUser +REVOKE ROLE regularUser FROM bob +---- +a| +Notifications for impossible `REVOKE` commands, where a user, a role, or a database does not exist, have been replaced with errors. + |=== @@ -173,18 +184,6 @@ Graph name parts with special characters may require additional escaping of thos Note that escaping graph names within the graph functions string argument is not supported in Cypher 5. - -a| -label:functionality[] -label:updated[] -[source, cypher, role="noheader"] ----- -REVOKE READ {*} ON GRAPH * NODES A FROM regularUser -REVOKE ROLE regularUser FROM bob ----- -a| -Notifications for impossible `REVOKE` commands, where a user, a role, or a database does not exist, have been replaced with errors. - |=== === New features From f8ccf1c5bda1163effee290ef1abf7b8c664a688 Mon Sep 17 00:00:00 2001 From: Hannes Sandberg Date: Mon, 10 Feb 2025 10:28:59 +0100 Subject: [PATCH 3/3] Update modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc Co-authored-by: Therese Magnusson --- .../pages/deprecations-additions-removals-compatibility.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 64337fbd0..706537344 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -88,8 +88,8 @@ label:functionality[] label:removed[] [source, cypher, role="noheader"] ---- -REVOKE READ {*} ON GRAPH * NODES A FROM regularUser -REVOKE ROLE regularUser FROM bob +REVOKE READ {*} ON GRAPH * NODES A FROM missingUser +REVOKE ROLE missingRole FROM bob ---- a| Notifications for impossible `REVOKE` commands, where a user, a role, or a database does not exist, have been replaced with errors.