role creation

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: asheiduk(at)gmail(dot)com
Subject: role creation
Date: 2020-02-12 21:44:27
Message-ID: 158154386714.23788.313646288641146447@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/role-attributes.html
Description:

The reference for `CREATE ROLE` has the following text in the `NOTES`
section regarding the `CREATEROLE` privilege:

>Be careful with the CREATEROLE privilege. There is no concept of
inheritance for the privileges of a CREATEROLE-role. That means that even
if a role does not have a certain privilege but is allowed to create other

roles, it can easily create another role with different privileges than
its own (except for creating roles with superuser privileges). For
example,
if the role “user” has the CREATEROLE privilege but not the CREATEDB
privilege, nonetheless it can create a new role with the CREATEDB
privilege. Therefore, regard roles that have the CREATEROLE privilege as
almost-superuser-roles.

Something like that is should be also on this page in the `role creation`
section.

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2020-02-12 22:02:30 Re: Getting our tables to render better in PDF output
Previous Message Alvaro Herrera 2020-02-12 21:30:39 Re: Getting our tables to render better in PDF output