Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6blO-0005RG-Qi for pgsql-general@arkaria.postgresql.org; Wed, 20 Mar 2019 14:00:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h6blN-0001bO-3d for pgsql-general@arkaria.postgresql.org; Wed, 20 Mar 2019 14:00:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6blM-0001Vq-N3 for pgsql-general@lists.postgresql.org; Wed, 20 Mar 2019 14:00:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6blK-0000hJ-4W for pgsql-general@lists.postgresql.org; Wed, 20 Mar 2019 14:00:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x2KDxx8O028649; Wed, 20 Mar 2019 09:59:59 -0400 From: Tom Lane To: Thomas Kellerer cc: pgsql-general@lists.postgresql.org, "Zwettler Markus (OIZ)" Subject: Re: Postgres Enhancement Request In-reply-to: <49902029-5742-00ba-85bd-fd0ba0b7d5f3@gmx.net> References: <49902029-5742-00ba-85bd-fd0ba0b7d5f3@gmx.net> Comments: In-reply-to Thomas Kellerer message dated "Wed, 20 Mar 2019 11:44:38 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28647.1553090399.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 20 Mar 2019 09:59:59 -0400 Message-ID: <28648.1553090399@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Kellerer writes: > Zwettler Markus (OIZ) schrieb am 20.03.2019 um 11:10: >> Please prevent users with CREATEROLE to create roles having CREATEDB (a= nalogous 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