Re: Postgres Enhancement Request

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres Enhancement Request
Дата
Msg-id 28648.1553090399@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgres Enhancement Request  (Thomas Kellerer <spam_eater@gmx.net>)
Ответы Re: Postgres Enhancement Request
Список 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 по дате отправления: