From 9ddd30bab4c6eee338e729fbdc0c0d77e98c3cf3 Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Mon, 3 Nov 2025 09:42:25 +0100 Subject: [PATCH 1/5] Add new code for commands not allowed with auth disabled --- modules/ROOT/content-nav.adoc | 1 + .../ROOT/pages/errors/gql-errors/51N2A.adoc | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 modules/ROOT/pages/errors/gql-errors/51N2A.adoc diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index 115ded8b..07478448 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -431,6 +431,7 @@ **** xref:errors/gql-errors/51N27.adoc[] **** xref:errors/gql-errors/51N28.adoc[] **** xref:errors/gql-errors/51N29.adoc[] +**** xref:errors/gql-errors/51N2A.adoc[] **** xref:errors/gql-errors/51N30.adoc[] **** xref:errors/gql-errors/51N31.adoc[] **** xref:errors/gql-errors/51N32.adoc[] diff --git a/modules/ROOT/pages/errors/gql-errors/51N2A.adoc b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc new file mode 100644 index 00000000..e98b8502 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc @@ -0,0 +1,37 @@ +:page-role: new-2025.x += 51N2A + +== Status description +error: system configuration or operation exception - not supported with auth disabled. The command `{ <> }` is not available with auth disabled. + +== Explanation +This error occurs when auth is disabled and a user attempts to run a command that isn't available unless auth is enabled. + +== Example scenario +For example, trying to change the current users password when auth is disabled: + +[source,cypher] +---- +ALTER CURRENT USER SET PASSWORD FROM $oldPassword TO $newPassword +---- + +Error message will be: + +[source] +---- +error: system configuration or operation exception - not supported with auth disabled. The command 'ALTER CURRENT USER SET PASSWORD' is not available with auth disabled. +---- + +To fix this, either enable auth or change the password using the `ALTER USER` command: + +[source,cypher] +---- +ALTER CURRENT USER $currentUsername SET PASSWORD $newPassword CHANGE NOT REQUIRED +---- + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] From d297905ca9a46bcedc32c8c55e7f03e84d2d5faf Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Mon, 3 Nov 2025 14:51:16 +0100 Subject: [PATCH 2/5] Apply suggestions from code review Co-authored-by: Reneta Popova --- modules/ROOT/pages/errors/gql-errors/51N2A.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors/51N2A.adoc b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc index e98b8502..14d0e567 100644 --- a/modules/ROOT/pages/errors/gql-errors/51N2A.adoc +++ b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc @@ -5,17 +5,17 @@ error: system configuration or operation exception - not supported with auth disabled. The command `{ <> }` is not available with auth disabled. == Explanation -This error occurs when auth is disabled and a user attempts to run a command that isn't available unless auth is enabled. +This error occurs when auth is disabled and a user attempts to run a command that is not available unless auth is enabled. == Example scenario -For example, trying to change the current users password when auth is disabled: +For example, try to change the current user's password when auth is disabled: [source,cypher] ---- ALTER CURRENT USER SET PASSWORD FROM $oldPassword TO $newPassword ---- -Error message will be: +You will receive the following error: [source] ---- From f4524b949a01b154085933ea5cf17b80cc60eb31 Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Mon, 3 Nov 2025 15:25:26 +0100 Subject: [PATCH 3/5] Remove missed `CURRENT` from copy paste --- modules/ROOT/pages/errors/gql-errors/51N2A.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/errors/gql-errors/51N2A.adoc b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc index 14d0e567..dcab6177 100644 --- a/modules/ROOT/pages/errors/gql-errors/51N2A.adoc +++ b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc @@ -26,7 +26,7 @@ To fix this, either enable auth or change the password using the `ALTER USER` co [source,cypher] ---- -ALTER CURRENT USER $currentUsername SET PASSWORD $newPassword CHANGE NOT REQUIRED +ALTER USER $currentUsername SET PASSWORD $newPassword CHANGE NOT REQUIRED ---- ifndef::backend-pdf[] From 79c1924874322c96afeed74e9f1c474d75066147 Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Thu, 6 Nov 2025 12:01:59 +0100 Subject: [PATCH 4/5] Set release version --- modules/ROOT/pages/errors/gql-errors/51N2A.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/errors/gql-errors/51N2A.adoc b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc index dcab6177..4d5d4e7c 100644 --- a/modules/ROOT/pages/errors/gql-errors/51N2A.adoc +++ b/modules/ROOT/pages/errors/gql-errors/51N2A.adoc @@ -1,4 +1,4 @@ -:page-role: new-2025.x +:page-role: new-2025.11 = 51N2A == Status description From 536918819a875d29ac13fc9073cf40f3e6f079ef Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Thu, 6 Nov 2025 11:04:47 +0000 Subject: [PATCH 5/5] regenerate the idex file --- modules/ROOT/pages/errors/gql-errors/index.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index 56e15a25..f7808ec9 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -1772,6 +1772,11 @@ Status description:: error: system configuration or operation exception - not su Status description:: error: system configuration or operation exception - not supported by this server. The command `{ <> }` must be executed on the current `LEADER` server. +[role=label--new-2025.11] +=== xref:errors/gql-errors/51N2A.adoc[51N2A] + +Status description:: error: system configuration or operation exception - not supported with auth disabled. The command `{ <> }` is not available with auth disabled. + === xref:errors/gql-errors/51N30.adoc[51N30] Status description:: error: system configuration or operation exception - not supported with this configuration. `{ <> }` is not supported in `{ <> }`.