summaryrefslogtreecommitdiff
path: root/doc/src/sgml/user-manag.sgml
diff options
context:
space:
mode:
authorBruce Momjian2024-02-01 11:11:53 +0000
committerBruce Momjian2024-02-01 11:11:53 +0000
commit21912e3c0262e2cfe64856e028799d6927862563 (patch)
tree209ce20b5ff4567550c7cdc01d66662a03cc36f2 /doc/src/sgml/user-manag.sgml
parent16a80e8912bb98c1a7763f6f6a29e23f43783f9d (diff)
doc: improve role option documentation
Role option management was changed in Postgres 16. This patch improves the docs around these changes, including CREATE ROLE's INHERIT option, inheritance handling, and grant's ability to change role options. Discussion: https://postgr.es/m/[email protected] Co-authored-by: David G. Johnston Backpatch-through: 16
Diffstat (limited to 'doc/src/sgml/user-manag.sgml')
-rw-r--r--doc/src/sgml/user-manag.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/user-manag.sgml b/doc/src/sgml/user-manag.sgml
index 1c011ac62b5..e026a4e2717 100644
--- a/doc/src/sgml/user-manag.sgml
+++ b/doc/src/sgml/user-manag.sgml
@@ -409,10 +409,10 @@ REVOKE <replaceable>group_role</replaceable> FROM <replaceable>role1</replaceabl
than the original login role, and any database objects created are
considered owned by the group role not the login role. Second, member
roles that have been granted membership with the
- <literal>INHERIT</literal> option automatically have use
- of the privileges of those roles, including any
- privileges inherited by those roles.
- As an example, suppose we have done:
+ <literal>INHERIT</literal> option automatically have use of the
+ privileges of those directly or indirectly a member of, though the
+ chain stops at memberships lacking the inherit option. As an example,
+ suppose we have done:
<programlisting>
CREATE ROLE joe LOGIN;
CREATE ROLE admin;