Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit00be0bc

Browse files
committed
doc: PG 16 relnotes: move role INHERIT item and clarify it
Also split out new role ADMIN syntax entry.Reported-by: Pavel LuzanovDiscussion:https://postgr.es/m/0ebcc8ea-7f5a-d014-d53f-e078622be35d@aklaver.comBackpatch-through: 16 only
1 parentd6af450 commit00be0bc

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

‎doc/src/sgml/release-16.sgml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,24 @@ Collations and locales can vary between databases so having them as read-only se
229229
</para>
230230
</listitem>
231231

232+
<!--
233+
Author: Robert Haas <rhaas@postgresql.org>
234+
2022-08-25 [e3ce2de09] Allow grant-level control of role inheritance behavior.
235+
-->
236+
237+
<listitem>
238+
<para>
239+
Role inheritance now controls the default inheritance status of member roles added during <link linkend="sql-grant"><command>GRANT</command></link> (Robert Haas)
240+
</para>
241+
242+
<para>
243+
The role's default inheritance behavior can be overridden with the new <command>GRANT ... WITH INHERIT</command> clause.
244+
This allows inheritance of some roles and not others because the members' inheritance status is set at <command>GRANT</command> time.
245+
Previously the inheritance status of member roles was controlled only by the role's inheritance status, and
246+
changes to a role's inheritance status affected all previous and future member roles.
247+
</para>
248+
</listitem>
249+
232250
<!--
233251
Author: Robert Haas <rhaas@postgresql.org>
234252
2023-01-10 [cf5eb37c5] Restrict the privileges of CREATEROLE users.
@@ -814,11 +832,11 @@ Author: Robert Haas <rhaas@postgresql.org>
814832

815833
<listitem>
816834
<para>
817-
Allow <link linkend="sql-grant"><command>GRANT</command></link> tocontrol role inheritance behavior (Robert Haas)
835+
Allow <link linkend="sql-grant"><command>GRANT</command></link> touse <literal>WITH ADMIN TRUE</literal>/<literal>FALSE</literal> syntax (Robert Haas)
818836
</para>
819837

820838
<para>
821-
By default, role inheritance is controlled bytheinheritance status of the member role. The new <command>GRANT</command> clauses <literal>WITHINHERIT</literal> and <literal>WITH ADMIN</literal>can now override this.
839+
Previously onlythe<literal>WITHADMIN OPTION</literal>syntax was supported.
822840
</para>
823841
</listitem>
824842

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp