Skip to content

Commit c06d66f

Browse files
committed
Merge branch 'dev' into 5.x-merge-dev
2 parents 88941e1 + 11ae1de commit c06d66f

File tree

3 files changed

+138
-16
lines changed

3 files changed

+138
-16
lines changed

antora.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ nav:
77
asciidoc:
88
attributes:
99
page-origin-private: false
10-
neo4j-version: '5.24'
11-
neo4j-version-exact: '5.24.0'
12-
neo4j-buildnumber: '5.24'
10+
neo4j-version: '5.25'
11+
neo4j-version-exact: '5.25.1'
12+
neo4j-buildnumber: '5.25'

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 134 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ Use `DATABASE *` without the parameter to revoke the privilege on all databases.
27952795
.Notification details
27962796
[cols="<1s,<4"]
27972797
|===
2798-
|Code
2798+
|Neo4j code
27992799
m|Neo.ClientNotification.Security.AuthProviderNotDefined
28002800
|Title
28012801
a|The auth provider is not defined.
@@ -2804,10 +2804,24 @@ a|The auth provider `{ $provider }` is not defined in the configuration.
28042804
Verify that the spelling is correct or define `{ $provider }` in the configuration.
28052805
|Category
28062806
m|SECURITY
2807+
|GQLSTATUS code
2808+
m|00N72
2809+
|Status description
2810+
a|note: successful completion - undefined auth provider.
2811+
The auth provider { $auth } is not defined in the configuration.
2812+
Verify that the spelling is correct or define { $auth } in the configuration.
2813+
|Classification
2814+
m|SECURITY
2815+
|SeverityLevel
2816+
m|INFORMATION
28072817
|===
28082818

2819+
28092820
.Create a user with an auth provider that is not defined in the configuration
2810-
====
2821+
[.tabbed-example]
2822+
=====
2823+
[.include-with-neo4j-code]
2824+
======
28112825
Command::
28122826
+
28132827
[source, cypher]
@@ -2822,10 +2836,35 @@ Verify that the spelling is correct or define `unknownProvider` in the configura
28222836
Suggestions for improvement::
28232837
Make sure that the given provider is correct, or replace it if not.
28242838
If it is correct, make sure to add it as a known auth provider in one or both of `dbms.security.authentication_providers` and `dbms.security.authorization_providers`.
2825-
====
2839+
======
2840+
[.include-with-GQLSTATUS-code]
2841+
======
2842+
Command::
2843+
+
2844+
[source, cypher]
2845+
----
2846+
CREATE USER foo SET AUTH 'unknownProvider' { SET ID 'idString' }
2847+
----
2848+
2849+
Returned GQLSTATUS code::
2850+
00N72
2851+
2852+
Returned status description::
2853+
note: successful completion - undefined auth provider.
2854+
The auth provider `unknownProvider` is not defined in the configuration.
2855+
Verify that the spelling is correct or define `unknownProvider` in the configuration.
2856+
2857+
Suggestions for improvement::
2858+
Make sure that the given provider is correct, or replace it if not.
2859+
If it is correct, make sure to add it as a known auth provider in one or both of `dbms.security.authentication_providers` and `dbms.security.authorization_providers`.
2860+
======
2861+
=====
28262862

28272863
.Alter a user to add an auth provider that is not defined in the configuration
2828-
====
2864+
[.tabbed-example]
2865+
=====
2866+
[.include-with-neo4j-code]
2867+
======
28292868
Command::
28302869
+
28312870
[source, cypher]
@@ -2840,28 +2879,62 @@ Verify that the spelling is correct or define `unknownProvider` in the configura
28402879
Suggestions for improvement::
28412880
Make sure that the given provider is correct, or replace it if not.
28422881
If it is correct, make sure to add it as a known auth provider in one or both of `dbms.security.authentication_providers` and `dbms.security.authorization_providers`.
2843-
====
2882+
======
2883+
2884+
[.include-with-GQLSTATUS-code]
2885+
======
2886+
Command::
2887+
+
2888+
[source, cypher]
2889+
----
2890+
ALTER USER foo SET AUTH 'unknownProvider' { SET ID 'idString' }
2891+
----
2892+
2893+
Returned GQLSTATUS code::
2894+
00N72
2895+
2896+
Returned status description::
2897+
note: successful completion - undefined auth provider.
2898+
The auth provider `unknownProvider` is not defined in the configuration.
2899+
Verify that the spelling is correct or define `unknownProvider` in the configuration.
2900+
2901+
Suggestions for improvement::
2902+
Make sure that the given provider is correct, or replace it if not.
2903+
If it is correct, make sure to add it as a known auth provider in one or both of `dbms.security.authentication_providers` and `dbms.security.authorization_providers`.
2904+
======
2905+
=====
2906+
28442907

28452908
[#_neo_clientnotification_security_externalauthnotenabled]
28462909
=== ExternalAuthNotEnabled
28472910

28482911
.Notification details
28492912
[cols="<1s,<4"]
28502913
|===
2851-
|Code
2914+
|Neo4j code
28522915
m|Neo.ClientNotification.Security.ExternalAuthNotEnabled
28532916
|Title
28542917
a|External auth for user is not enabled.
28552918
|Description
28562919
a|Use setting `dbms.security.require_local_user` to enable external auth.
2857-
|Severity
2858-
m|WARNING
28592920
|Category
28602921
m|SECURITY
2922+
|GQLSTATUS code
2923+
m|01N71
2924+
|Status description
2925+
|warn: external auth disabled.
2926+
Use the setting 'dbms.security.require_local_user' to enable external auth.
2927+
|Classification
2928+
m|SECURITY
2929+
|SeverityLevel
2930+
m|WARNING
28612931
|===
28622932

28632933
.Create a user with an external auth provider when linked users are not enabled
2864-
====
2934+
[.tabbed-example]
2935+
=====
2936+
[.include-with-neo4j-code]
2937+
======
28652938
Command::
28662939
+
28672940
[source, cypher]
@@ -2872,10 +2945,35 @@ CREATE USER foo SET AUTH 'exampleProvider' { SET ID 'idString' }
28722945
Suggestions for improvement::
28732946
Enable linked users through the `dbms.security.require_local_user` setting.
28742947
Until enabled, the new external auth will be ignored, and current external auth behaviors will continue to apply.
2875-
====
2948+
======
2949+
[.include-with-GQLSTATUS-code]
2950+
======
2951+
Command::
2952+
+
2953+
[source, cypher]
2954+
----
2955+
CREATE USER foo SET AUTH 'exampleProvider' { SET ID 'idString' }
2956+
----
2957+
2958+
Returned GQLSTATUS code::
2959+
01N71
2960+
2961+
Returned status description::
2962+
warn: external auth disabled.
2963+
Use the setting 'dbms.security.require_local_user' to enable external auth.
2964+
2965+
Suggestions for improvement::
2966+
Enable linked users through the `dbms.security.require_local_user` setting.
2967+
Until enabled, the new external auth will be ignored, and current external auth behaviors will continue to apply.
2968+
2969+
======
2970+
=====
28762971

28772972
.Alter a user to add an external auth provider when linked users are not enabled
2878-
====
2973+
[.tabbed-example]
2974+
=====
2975+
[.include-with-neo4j-code]
2976+
======
28792977
Command::
28802978
+
28812979
[source, cypher]
@@ -2886,7 +2984,31 @@ ALTER USER foo SET AUTH 'exampleProvider' { SET ID 'idString' }
28862984
Suggestions for improvement::
28872985
Enable linked users through the `dbms.security.require_local_user` setting.
28882986
Until enabled, the new external auth will be ignored, and current external auth behaviors will continue to apply.
2889-
====
2987+
======
2988+
2989+
[.include-with-GQLSTATUS-code]
2990+
======
2991+
Command::
2992+
+
2993+
[source, cypher]
2994+
----
2995+
ALTER USER foo SET AUTH 'exampleProvider' { SET ID 'idString' }
2996+
----
2997+
2998+
Returned GQLSTATUS code::
2999+
01N71
3000+
3001+
Returned status description::
3002+
warn: external auth disabled.
3003+
Use the setting 'dbms.security.require_local_user' to enable external auth.
3004+
3005+
Suggestions for improvement::
3006+
Enable linked users through the `dbms.security.require_local_user` setting.
3007+
Until enabled, the new external auth will be ignored, and current external auth behaviors will continue to apply.
3008+
3009+
======
3010+
=====
3011+
28903012

28913013
[#_topology_notifications]
28923014
== `TOPOLOGY` category

modules/ROOT/pages/notifications/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,4 +305,4 @@ Finally, the list of poly-filled GQL-status objects is sorted according to the G
305305
|===
306306
// The following table illustrates the compatibility between the different server and driver versions for both the current Notification API and the GqlStatusObject API:
307307

308-
// TODO
308+
// TODO

0 commit comments

Comments
 (0)