pgsql: Improve documentation of the CREATEROLE attibute. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Improve documentation of the CREATEROLE attibute.
Date
Msg-id E1pCnbb-001tE1-Ak@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve documentation of the CREATEROLE attibute.

In user-manag.sgml, document precisely what privileges are conveyed
by CREATEROLE. Make particular note of the fact that it allows
changing passwords and granting access to high-privilege roles.
Also remove the suggestion of using a user with CREATEROLE and
CREATEDB instead of a superuser, as there is no real security
advantage to this approach.

Elsewhere in the documentation, adjust text that suggests that
<literal>CREATEROLE</literal> only allows for role creation, and
refer to the documentation in user-manag.sgml as appropriate.

Patch by me, reviewed by Álvaro Herrera

Discussion: http://postgr.es/m/CA+TgmoZBsPL8nPhvYecx7iGo5qpDRqa9k_AcaW1SbOjugAY1Ag@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0b496bc9881fdcb3c20aeaa08bcdc196b8ec6946

Modified Files
--------------
doc/src/sgml/ref/alter_role.sgml  |  2 +-
doc/src/sgml/ref/create_role.sgml | 10 ++++-----
doc/src/sgml/ref/createuser.sgml  | 18 ++++++++++-----
doc/src/sgml/user-manag.sgml      | 47 +++++++++++++++++++++++++++------------
4 files changed, 52 insertions(+), 25 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: pgsql: vacuumlazy.c: Save get_database_name() in vacrel.
Next
From: David Rowley
Date:
Subject: pgsql: Fix typo in memutils_memorychunk.h