couchdb
This commit is contained in:
@@ -1,5 +1,20 @@
|
||||
create role postgraphile_user nosuperuser nocreatedb nocreaterole noinherit noreplication nobypassrls
|
||||
login password '9013';
|
||||
|
||||
alter default privileges in schema public
|
||||
grant select on tables to postgraphile_user;
|
||||
grant usage
|
||||
on schema public
|
||||
to postgraphile_user;
|
||||
|
||||
-- Pour toutes les tables du schéma public
|
||||
grant select
|
||||
on all tables
|
||||
in schema public
|
||||
to postgraphile_user;
|
||||
|
||||
-- Privilège par défaut pour que chaque nouvelle table créée dans public
|
||||
-- donnera automatiquement le droit SELECT à postgraphile_user.
|
||||
alter default privileges
|
||||
in schema public
|
||||
grant select
|
||||
on tables
|
||||
to postgraphile_user;
|
||||
|
||||
Reference in New Issue
Block a user