Explicit privileges for databases

This commit is contained in:
Benjamin Bohard 2020-04-07 14:34:37 +02:00
parent 81f0635ef2
commit e96e4e81c8
2 changed files with 4 additions and 0 deletions

View File

@ -4,7 +4,9 @@ dbuser: %%getVar('risotto_db_user')
dbuser_options:
- LOGIN
privileges:
%%{dbname}.public.*: 'ALL'
%%{dbname}.public: 'ALL'
%%{dbname}: 'ALL'
dbhost: %%getVar('risotto_db_address')
dbport: 5432
dbtype: postgres

View File

@ -4,7 +4,9 @@ dbuser: %%getVar('risotto_tiramisu_db_user')
dbuser_options:
- LOGIN
privileges:
%%{dbname}.public.*: 'ALL'
%%{dbname}.public: 'ALL'
%%{dbname}: 'ALL'
dbhost: %%getVar('risotto_db_address')
dbport: 5432
dbtype: postgres