Re: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?
Дата
Msg-id C09C82B5-2527-4EDA-B23B-BDB268576C0C@gmail.com
обсуждение исходный текст
Ответ на GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Christopher Swingley
Дата:
Сообщение: Re: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: GRANT SELECT ON ALL TABLES IN SCHEMA... doesn't apply to new tables?