pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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 14:26:19 -0400
Message-ID: <20151021182619.GX3685@tamriel.snowman.net> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> 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.

Probably past time, considering the obvious confusion to CREATEROLE and
NOCREATEROLE.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (11+ messages)  latest in thread

Message-ID: <20151021182619.GX3685@tamriel.snowman.net>
Permalink:  ../20151021182619.GX3685@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20151021182619.GX3685@tamriel.snowman.net

 · 

reply

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: sfrost@snowman.net, 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: <20151021182619.GX3685@tamriel.snowman.net>
  References: <20151021164233.3017.94954@wrigleys.postgresql.org> <5627D3D9.8080409@joeconway.com> <22555.1445451464@sss.pgh.pa.us> <20151021182619.GX3685@tamriel.snowman.net>

* 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