From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-general@lists.postgresql.org
Cc: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
Subject: Re: Postgres Enhancement Request
Date: Wed, 20 Mar 2019 09:59:59 -0400
Message-ID: <28648.1553090399@sss.pgh.pa.us> (raw)
In-Reply-To: <49902029-5742-00ba-85bd-fd0ba0b7d5f3@gmx.net>
References: <de9a4bb5fc70414caa68330aef5f843b@zuerich.ch>
<49902029-5742-00ba-85bd-fd0ba0b7d5f3@gmx.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, spam_eater@gmx.net, Markus.Zwettler@zuerich.ch
Subject: Re: Postgres Enhancement Request
In-Reply-To: <28648.1553090399@sss.pgh.pa.us>
References: <de9a4bb5fc70414caa68330aef5f843b@zuerich.ch> <49902029-5742-00ba-85bd-fd0ba0b7d5f3@gmx.net> <28648.1553090399@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox