Re: privileges oddity - Mailing list pgsql-general

From Tom Lane
Subject Re: privileges oddity
Date
Msg-id 2795205.1596828723@sss.pgh.pa.us
Whole thread Raw
In response to Re: privileges oddity  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: privileges oddity
List pgsql-general
Scott Ribe <scott_ribe@elevated-dev.com> writes:
> So it would only have removed privs if I had used set role in the session, which I am not.

Yes, you are.  It looks like what you actually issued is

ALTER USER akanzler SET role confidential_read_only;

but that would have the effect that subsequent session starts would
automatically do "SET ROLE confidential_read_only".

            regards, tom lane



pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: Re: privileges oddity
Next
From: Adrian Klaver
Date:
Subject: Re: privileges oddity