couchdb
This commit is contained in:
@@ -17,7 +17,20 @@ create role adherent nologin;
|
||||
grant anonyme to postgrest;
|
||||
grant adherent to postgrest;
|
||||
|
||||
grant usage on schema public to anonyme;
|
||||
grant usage
|
||||
on schema public
|
||||
to anonyme;
|
||||
|
||||
alter default privileges in schema public
|
||||
grant select on tables to anonyme;
|
||||
-- Pour toutes les tables du schéma public
|
||||
grant select
|
||||
on all tables
|
||||
in schema public
|
||||
to anonyme;
|
||||
|
||||
-- Privilège par défaut pour que chaque nouvelle table créée dans public
|
||||
-- donnera automatiquement le droit SELECT à anonyme.
|
||||
alter default privileges
|
||||
in schema public
|
||||
grant select
|
||||
on tables
|
||||
to anonyme;
|
||||
|
||||
Reference in New Issue
Block a user