From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joe Conway <mail@joeconway.com>
Cc: justin.catterson@sofiebio.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13694: Row Level Security by-passed with CREATEUSER permission
Date: Wed, 21 Oct 2015 11:17:44 -0700
Message-ID: <22555.1445451464@sss.pgh.pa.us> (raw)
In-Reply-To: <5627D3D9.8080409@joeconway.com>
References: <20151021164233.3017.94954@wrigleys.postgresql.org>
<5627D3D9.8080409@joeconway.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Joe Conway <mail@joeconway.com> writes:
> On 10/21/2015 09:42 AM, justin.catterson@sofiebio.com wrote:
>> Users with the CREATEUSER permission do not evaluate Row Level Security
>> functions. pg_user usebypassrls is set to false.
> Not a bug. See
> http://www.postgresql.org/docs/9.5/static/sql-createrole.html> "CREATEUSER
> NOCREATEUSER
> These clauses are an obsolete, but still accepted, spelling of
> SUPERUSER and NOSUPERUSER. Note that they are not equivalent to
> CREATEROLE as one might naively expect!"
I wonder if it's time yet to remove those keywords. We've had the
SUPERUSER spelling since 8.1, and this report should remind us that
people get confused by the old spellings.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, mail@joeconway.com, justin.catterson@sofiebio.com
Subject: Re: BUG #13694: Row Level Security by-passed with CREATEUSER permission
In-Reply-To: <22555.1445451464@sss.pgh.pa.us>
References: <20151021164233.3017.94954@wrigleys.postgresql.org> <5627D3D9.8080409@joeconway.com> <22555.1445451464@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