I am running PostgreSQL 9.3.2 on Linux.
I have a group role 'data_scientist' and access rights to a certain (already filled) scheme like
grant usage on schema schemaname to data_scientist;
grant select, references, trigger
on all tables in schema schemaname
to data_scientist;
This fixes the data_scientist problem using past tables. For future tables, I added
alter default privileges in schema schemaname
grant select, references on tables
to data_scientist;
However, whenever a new table is added, other data_scientist permissions fail in the new tables.
source
share