Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zoxxa-0006uy-Jy for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Oct 2015 18:18:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zoxxa-0005fr-1i for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Oct 2015 18:18:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZoxxZ-0005dO-2v for pgsql-bugs@postgresql.org; Wed, 21 Oct 2015 18:18:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZoxxQ-00012K-Th for pgsql-bugs@postgresql.org; Wed, 21 Oct 2015 18:17:59 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t9LIHirO012019; Wed, 21 Oct 2015 14:17:44 -0400 From: Tom Lane To: Joe Conway cc: justin.catterson@sofiebio.com, pgsql-bugs@postgresql.org Subject: Re: BUG #13694: Row Level Security by-passed with CREATEUSER permission In-reply-to: <5627D3D9.8080409@joeconway.com> References: <20151021164233.3017.94954@wrigleys.postgresql.org> <5627D3D9.8080409@joeconway.com> Comments: In-reply-to Joe Conway message dated "Wed, 21 Oct 2015 11:05:13 -0700" Date: Wed, 21 Oct 2015 11:17:44 -0700 Message-ID: <22555.1445451464@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Joe Conway 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