Skip to content

Commit a5a8343

Browse files
committed
pr review comments 1
1 parent cfe8196 commit a5a8343

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

modules/ROOT/pages/authentication-authorization/manage-privileges.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ The components of the graph privilege commands are:
4545
** `REVOKE` – removes granted or denied privileges from roles.
4646

4747
* _mutability_:
48-
** `IMMUTABLE` can optionally be specified when performing a `GRANT` or `DENY` to indicate that the privilege cannot be subsequently removed unless auth is disabled. Auth must also be disabled in order to `GRANT` or `DENY` an immutable privilege. Contrastingly, when `IMMUTABLE` is specified in conjunction with a `REVOKE` command, it will act as a filter and only remove matching _immutable_ privileges. See also xref:authentication-authorization/privileges-and-roles-immutable.adoc[].
48+
** `IMMUTABLE` can optionally be specified when performing a `GRANT` or `DENY` to indicate that the privilege cannot be subsequently removed unless auth is disabled.
49+
Auth must also be disabled in order to `GRANT` or `DENY` an immutable privilege (details xref:authentication-authorization/privileges-and-roles-immutable.adoc#access-control-privileges-immutable-admin[here]).
50+
Contrastingly, when `IMMUTABLE` is specified in conjunction with a `REVOKE` command, it will act as a filter and only remove matching _immutable_ privileges.
4951

5052
* _graph-privilege_:
5153
** Can be either a xref:authentication-authorization/privileges-reads.adoc[read privilege] or xref:authentication-authorization/privileges-writes.adoc[write privilege].

modules/ROOT/pages/authentication-authorization/manage-roles.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ For more information, see xref:authentication-authorization/dbms-administration.
339339
== Listing roles
340340

341341

342-
You can view all available roles using the Cypher command `SHOW ROLES`, which returns a single column by default. You can optionally use `SHOW ROLES YIELD *` to return the `IMMUTABLE` column. (See xref:authentication-authorization/manage-roles.adoc#access-control-immutable-roles[immutable roles] for more information).
342+
You can view all available roles using the Cypher command `SHOW ROLES`, which returns a single column by default.
343+
You can optionally use `SHOW ROLES YIELD *` to return the `immutable` column.
344+
(See xref:authentication-authorization/manage-roles.adoc#access-control-immutable-roles[immutable roles] for more information).
343345

344346
.`SHOW ROLES` output
345347
[options="header", width="100%", cols="2a,4,2m"]
@@ -582,7 +584,9 @@ This is equivalent to running `DROP ROLE myrole IF EXISTS` followed by `CREATE R
582584

583585
[[access-control-immutable-roles]]
584586
=== Immutable roles
585-
Immutable roles are roles which cannot be modified in the usual way after they have been created. This means they cannot be renamed, dropped, or have privileges granted to or revoked from them. See xref:authentication-authorization/privileges-and-roles-immutable.adoc[here] for details.
587+
Immutable roles are roles which cannot be modified in the usual way.
588+
This means they cannot be created, renamed, dropped, or have privileges granted to or revoked from them.
589+
See xref:authentication-authorization/privileges-and-roles-immutable.adoc[here] for details.
586590

587591
They are useful in cases where you need a permanent built-in system role which cannot be modified even by users who have xref:authentication-authorization/dbms-administration.adoc#access-control-dbms-administration-role-management[ROLE MANAGEMENT privileges].
588592

modules/ROOT/pages/authentication-authorization/privileges-and-roles-immutable.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Immutable roles were introduced in Neo4j 5.24. Immutable privileges have been av
1313
== How to administer immutable privileges and roles
1414

1515
Unlike regular privileges and roles, immutable privileges and roles cannot be administered by users with xref:authentication-authorization/dbms-administration.adoc#access-control-dbms-administration-privilege-management[PRIVILEGE MANAGEMENT] and xref:authentication-authorization/dbms-administration.adoc#access-control-dbms-administration-role-management[ROLE MANAGEMENT] privileges.
16-
Instead, they can only be administered when auth is disabled -- that is, when the configuration setting <<config_dbms.security.auth_enabled,`dbms.security.auth_enabled`>> is set to `false`.
16+
Instead, they can only be administered when auth is disabled -- that is, when the configuration setting xref:configuration/configuration-settings.adoc#config_dbms.security.auth_enabled[`dbms.security.auth_enabled`] is set to `false`.
1717

1818
[CAUTION]
1919
Immutable privileges and roles should only be used in a scenario where changes are rare.
2020
They are intentionally difficult to change and thus changes should be undertaken with caution (i.e. when the DBMS has been isolated by some other means and unauthorized access can be reliably prevented).
2121
It is considered to be the kind of action which may be performed once during the commissioning phase of a DBMS.
2222

23-
When the configuration setting <<config_dbms.security.auth_enabled,`dbms.security.auth_enabled`>> is set to `false`, immutable privileges and roles can be administered in a similar way to regular privileges and roles, using the `IMMUTABLE` keyword.
23+
When the configuration setting xref:configuration/configuration-settings.adoc#config_dbms.security.auth_enabled[`dbms.security.auth_enabled`] is set to `false`, immutable privileges and roles can be administered in a similar way to regular privileges and roles, using the `IMMUTABLE` keyword.
2424

2525
Once the dbms is safely isolated from external connections, follow these steps to administer immutable privileges and roles:
2626

0 commit comments

Comments
 (0)