Re: CREATE ROLE inheritance details
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Noah Misch <noah@leadboat.com>
Cc: Bruce Momjian <bruce@momjian.us>, Laurenz Albe <laurenz.albe@cybertec.at>, PostgreSQL-documentation <pgsql-docs@postgresql.org>,
Robert Haas <robertmhaas@gmail.com>
Date: 2024-04-04T01:11:47Z
Lists: pgsql-docs
On Sat, Mar 30, 2024 at 11:16 PM Noah Misch <noah@leadboat.com> wrote: > On Tue, Jan 30, 2024 at 01:49:42PM -0700, David G. Johnston wrote: > > + The membership grants created by the > > + <literal>IN ROLE</literal>, <literal>ROLE</literal>, and > <literal>ADMIN</literal> > > + clauses have the role executing this command as the grantee. > > This should be s/grantee/grantor/, right? > Correct. > > + If unspecified when create a new role membership this defaults to > > + the inheritance attribute of the role being added. > > Need s/create/creating/. Missing comma. While phrase "role being added" > isn't wrong, the rest of the paragraph uses "member" and uses "granted > role" > to refer to the member-of role. Putting those together: > > If unspecified when creating a new role membership, this defaults to the > inheritance attribute of the new member. > I like that better. David J.
Commits
-
Correct "improve role option documentation".
- e9b905325c13 16.3 landed
- 68ba46dfe38c 17.0 landed
-
Allow grant-level control of role inheritance behavior.
- e3ce2de09d81 16.0 cited