Grant select for all tables of the 12 schemas of my one db ?

Поиск
Список
Период
Сортировка
От celati Laurent
Тема Grant select for all tables of the 12 schemas of my one db ?
Дата
Msg-id CAHByMH1agdweY=x_NptB5ka2t6Sa6YOXY-2JfHr9Zbdwj-GS1Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Grant select for all tables of the 12 schemas of my one db ?  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
Good morning,

I work on Postgresql 13 (windows) and Postgis.
For some "basic USERS", i have to grant select/read for all tables of the 12 schemas of my  db ?

With Postgresql 13, i am obliged to write :
GRANT SELECT ON ALL TABLES IN SCHEMA TO username  ?

Or a easiest way is possible?
With Postgresql 14, it seems to be easiest :

https://www.postgresql.org/docs/14/predefined-roles.html


In advance, thanks a lot for your help. 

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Avg/max size of these JSON docs in Postgres
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: Grant select for all tables of the 12 schemas of my one db ?