agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Rob Sargent <robjsargent@gmail.com>
To: Larry Rosenman <ler@lerctr.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?
Date: Fri, 14 Dec 2018 19:50:09 -0700
Message-ID: <C09C82B5-2527-4EDA-B23B-BDB268576C0C@gmail.com> (raw)
In-Reply-To: <20181215021359.m4horbexxiai4xez@ler-imac-2.local>
References: <20181215021359.m4horbexxiai4xez@ler-imac-2.local>
Reissue. I think your grant is really a wrapper that grants to each existing table
> On Dec 14, 2018, at 7:13 PM, Larry Rosenman <ler@lerctr.org> wrote:
>
> I have the following grant in effect:
> GRANT SELECT ON ALL TABLES IN SCHEMA public TO readonly;
>
> We occasionally add tables to that schema, but the readonly role
> can't read them.
>
> Is this a bug or do I/should I re-issue the GRANT when we add tables?
>
>
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: ler@lerctr.org
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
view thread (5+ messages) latest in thread
Message-ID: <C09C82B5-2527-4EDA-B23B-BDB268576C0C@gmail.com>
Permalink: ../C09C82B5-2527-4EDA-B23B-BDB268576C0C@gmail.com/
Also on: postgresql.org/message-id/C09C82B5-2527-4EDA-B23B-BDB268576C0C@gmail.com
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: robjsargent@gmail.com, ler@lerctr.org
Subject: Re: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?
In-Reply-To: <C09C82B5-2527-4EDA-B23B-BDB268576C0C@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox