Re: Postgres Enhancement Request - Mailing list pgsql-general

From Tom Lane
Subject Re: Postgres Enhancement Request
Date
Msg-id 28648.1553090399@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres Enhancement Request  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: Postgres Enhancement Request  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-general
Thomas Kellerer <spam_eater@gmx.net> writes:
> Zwettler Markus (OIZ) schrieb am 20.03.2019 um 11:10:
>> Please prevent users with CREATEROLE to create roles having CREATEDB (analogous SUPERUSER and REPLICATION).

> I agree that would be a welcome enhancement.

No, it wouldn't.  The point of CREATEROLE is to allow user creation
and deletion to be done by a role that's less than full superuser.
If we changed it like that, then you'd be right back at needing
superuser for very routine role creations.  That's *not* an
improvement, even if it somehow fit better into the OP's desired
security model (which he hasn't explained).

            regards, tom lane


pgsql-general by date:

Previous
From: Thomas Güttler
Date:
Subject: Re: Performance of ByteA: ascii vs binary
Next
From: Thomas Kellerer
Date:
Subject: Re: Postgres Enhancement Request