Re: Read only user permission - Mailing list pgsql-general

From Dominique Devienne
Subject Re: Read only user permission
Date
Msg-id CAFCRh--kqr1nRDrXJN1V4kwSsDu_7BqweYfYJtez7nxoypTRqg@mail.gmail.com
Whole thread Raw
In response to Re: Read only user permission  (Erik Wienhold <ewie@ewie.name>)
List pgsql-general
On Thu, Aug 24, 2023 at 11:34 AM Erik Wienhold <ewie@ewie.name> wrote:
> On 24/08/2023 10:11 CEST Dominique Devienne <ddevienne@gmail.com> wrote:
> On Wed, Aug 23, 2023 at 7:46 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > The readwrite user (not the admin) would need to issue ALTER DEFAULT
> > PRIVILEGES granting that.
 
> And I don't remember reading anything like what you imply. Could you please
> pinpoint in the doc where this would be explained?

This is implied by:

        "You can change default privileges only for objects that will be
         created by yourself or by roles that you are a member of."

https://www.postgresql.org/docs/current/sql-alterdefaultprivileges.html#SQL-ALTERDEFAULTPRIVILEGES-DESCRIPTION

Thanks Erik (and Tom). I either missed that, or it didn't "sink-in" properly.
I'll be careful to keep that in mind from now on. I appreciate the doc pointer. --DD

pgsql-general by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: Read only user permission
Next
From: duc hiep ha
Date:
Subject: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly