Permissions pour un groupe en lecture
configuration des droits des groupes pour les modèles sur serveur
grant usage on schema api to xlive_read;
grant select on all tables in schema api to xlive_read;
grant usage on schema ___ to xlive_read; -- pour l'usage des types
J'ai modifié les permissions sur le modèle en prod et fait les corrections dans !225 (merged)
pour pg_dump (export database) il faut en plus
GRANT SELECT ON ALL SEQUENCES IN SCHEMA ___ to xlive_read ;
GRANT SELECT ON ALL TABLES IN SCHEMA ___ to xlive_read ;
grant USAGE on SCHEMA sig to xlive_read ;
GRANT SELECT ON ALL SEQUENCES IN SCHEMA sig to xlive_read ;
GRANT SELECT ON ALL TABLES IN SCHEMA sig to xlive_read ;
grant USAGE on SCHEMA public to xlive_read ;
GRANT SELECT ON ALL TABLES IN SCHEMA public to xlive_read ;
GRANT SELECT ON ALL SEQUENCES IN SCHEMA public to xlive_read ;
Pour restaurer le dump, il faut créer les utilisateurs nécessaire localement.
Edited by MARJORIE DRANGUET