From: | Dominique Devienne <ddevienne(at)gmail(dot)com> |
---|---|
To: | Erik Wienhold <ewie(at)ewie(dot)name> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hellen Jiang <hjiang(at)federatedwireless(dot)com>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Read only user permission |
Date: | 2023-08-24 09:44:28 |
Message-ID: | CAFCRh--kqr1nRDrXJN1V4kwSsDu_7BqweYfYJtez7nxoypTRqg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Aug 24, 2023 at 11:34 AM Erik Wienhold <ewie(at)ewie(dot)name> wrote:
> > On 24/08/2023 10:11 CEST Dominique Devienne <ddevienne(at)gmail(dot)com> wrote:
> > On Wed, Aug 23, 2023 at 7:46 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | duc hiep ha | 2023-08-24 09:52:50 | ora2pg -c ora2pg.conf -t COPY -a tablename not working properly |
Previous Message | Erik Wienhold | 2023-08-24 09:34:32 | Re: Read only user permission |