Skip to content

Commit 8914fa7

Browse files
Remove admin-only label from topology related procedures (#1748)
Related to the PR neo-technology/neo4j#26351 --------- Co-authored-by: Nick Giles <[email protected]>
1 parent 1792739 commit 8914fa7

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

modules/ROOT/pages/reference/procedures.adoc

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ In 4.2, signature changed to `db.listLocks() :: (mode :: STRING, resourceType ::
258258
| xref:reference/procedures.adoc#procedure_dbms_cluster_setAutomaticallyEnableFreeServers[`dbms.cluster.setAutomaticallyEnableFreeServers()`]
259259
| label:no[]
260260
| label:yes[]
261-
| label:admin-only[]
261+
| Before Neo4j 5.23, the procedure can be run only with the `Admin` privileges.
262262

263263
| xref:reference/procedures.adoc#procedure_dbms_cluster_checkConnectivity[`dbms.cluster.checkConnectivity()`]
264264
| label:no[]
@@ -268,7 +268,7 @@ In 4.2, signature changed to `db.listLocks() :: (mode :: STRING, resourceType ::
268268
| xref:reference/procedures.adoc#procedure_dbms_cluster_cordonServer[`dbms.cluster.cordonServer()`]
269269
| label:no[]
270270
| label:yes[]
271-
| label:admin-only[]
271+
| Before Neo4j 5.23, the procedure can be run only with the `Admin` privileges.
272272

273273
// New in 4.0
274274
// com.neo4j.causaulclustering.discovery.procedures.InstalledProtocolsProcedure
@@ -485,7 +485,8 @@ Replaced by: xref:reference/procedures.adoc#procedure_dbms_routing_getroutingtab
485485
| xref:reference/procedures.adoc#procedure_dbms_cluster_uncordonServer[`dbms.cluster.uncordonServer()`]
486486
| label:no[]
487487
| label:yes[]
488-
| label:admin-only[] label:deprecated[Deprecated in 5.23]. +
488+
| label:deprecated[Deprecated in 5.23]. +
489+
Before Neo4j 5.23, the procedure can be run only with the `Admin` privileges. +
489490
Replaced by xref:clustering/server-syntax.adoc#server-management-syntax[`ENABLE SERVER`].
490491

491492
// New in 4.1
@@ -1619,7 +1620,7 @@ For more information, see the link:{neo4j-docs-base-uri}/cypher-manual/{page-ver
16191620

16201621

16211622
[[procedure_dbms_cluster_setAutomaticallyEnableFreeServers]]
1622-
[role=label--enterprise-edition label--admin-only]
1623+
[role=label--enterprise-edition]
16231624
.dbms.cluster.setAutomaticallyEnableFreeServers()
16241625
[cols="<15s,<85"]
16251626
|===
@@ -1632,7 +1633,12 @@ m|dbms.cluster.setAutomaticallyEnableFreeServers(autoEnable :: BOOLEAN)
16321633
m|WRITE
16331634
|===
16341635

1635-
1636+
[NOTE]
1637+
====
1638+
Before Neo4j 5.23, the procedure `dbms.cluster.setAutomaticallyEnableFreeServers()` can be run only by users with the `Admin` privileges.
1639+
Since Neo4j 5.23, it can be run with the `SERVER MANAGEMENT` privilege.
1640+
It will still run with the `Admin` privilege, but that should be considered deprecated.
1641+
====
16361642

16371643
[[procedure_dbms_cluster_checkConnectivity]]
16381644
[role=label--enterprise-edition label--admin-only]
@@ -1653,7 +1659,7 @@ m|DBMS
16531659

16541660

16551661
[[procedure_dbms_cluster_cordonServer]]
1656-
[role=label--enterprise-edition label--admin-only]
1662+
[role=label--enterprise-edition]
16571663
.dbms.cluster.cordonServer()
16581664
[cols="<15s,<85"]
16591665
|===
@@ -1668,6 +1674,12 @@ m|dbms.cluster.cordonServer(server :: STRING)
16681674
m|WRITE
16691675
|===
16701676

1677+
[NOTE]
1678+
====
1679+
Before Neo4j 5.23, the procedure `dbms.cluster.cordonServer()` can be run only by users with `Admin` privileges.
1680+
Since Neo4j 5.23, it can be run with the `SERVER MANAGEMENT` privilege.
1681+
It will still run with the `Admin` privilege, but that should be considered deprecated.
1682+
====
16711683

16721684
[[procedure_dbms_cluster_routing_getroutingtable]]
16731685
[role=label--deprecated-5.21]
@@ -1807,9 +1819,8 @@ CALL dbms.cluster.secondaryReplicationDisable("neo4j", false)
18071819
----
18081820

18091821

1810-
18111822
[[procedure_dbms_cluster_uncordonServer]]
1812-
[role=label--enterprise-edition label--admin-only label--deprecated-5.23]
1823+
[role=label--enterprise-edition label--deprecated-5.23]
18131824
.dbms.cluster.uncordonServer()
18141825
[cols="<15s,<85"]
18151826
|===
@@ -1823,6 +1834,13 @@ m|WRITE
18231834
a|xref:clustering/server-syntax.adoc#server-management-syntax[`ENABLE SERVER`]
18241835
|===
18251836

1837+
[NOTE]
1838+
====
1839+
Before Neo4j 5.23, the procedure `dbms.cluster.uncordonServer()` can be run only by users with `Admin` privileges.
1840+
Since Neo4j 5.23, it can be run with the `SERVER MANAGEMENT` privilege.
1841+
It will still run with the `Admin` privilege, but that should be considered deprecated.
1842+
====
1843+
18261844
[[procedure_dbms_cluster_switchdiscoveryserviceversion]]
18271845
[role=label--enterprise-edition label--admin-only label--new-5.22]
18281846
.dbms.cluster.switchDiscoveryServiceVersion()

0 commit comments

Comments
 (0)