diff --git a/src/ol_infrastructure/lib/vault.py b/src/ol_infrastructure/lib/vault.py index 1a5da157a..d390b429c 100644 --- a/src/ol_infrastructure/lib/vault.py +++ b/src/ol_infrastructure/lib/vault.py @@ -80,9 +80,9 @@ GRANT SELECT ON ALL SEQUENCES IN SCHEMA public TO "{{name}}"; SET ROLE "{{name}}"; ALTER DEFAULT PRIVILEGES FOR USER "{{name}}" IN SCHEMA public GRANT SELECT - ON TABLES TO "{{name}}"; + ON ALL TABLES TO "{{name}}"; ALTER DEFAULT PRIVILEGES FOR USER "{{name}}" IN SCHEMA public GRANT SELECT - ON SEQUENCES TO "{{name}}"; + ON ALL SEQUENCES TO "{{name}}"; RESET ROLE;""" ), "revoke": Template(