Grant select for all tables of the 12 schemas of my one db ? - Mailing list pgsql-general

From celati Laurent
Subject Grant select for all tables of the 12 schemas of my one db ?
Date
Msg-id CAHByMH1agdweY=x_NptB5ka2t6Sa6YOXY-2JfHr9Zbdwj-GS1Q@mail.gmail.com
Whole thread Raw
Responses Re: Grant select for all tables of the 12 schemas of my one db ?
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Avg/max size of these JSON docs in Postgres
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: Grant select for all tables of the 12 schemas of my one db ?