Skip to content

Commit

Permalink
fix: Remove invalid grant syntax in readonly postgres roles
Browse files Browse the repository at this point in the history
  • Loading branch information
blarghmatey committed Mar 8, 2023
1 parent c954517 commit 2f55812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ol_infrastructure/lib/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ALL TABLES TO "{{name}}";
ON TABLES TO "{{name}}";
ALTER DEFAULT PRIVILEGES FOR USER "{{name}}" IN SCHEMA public GRANT SELECT
ON ALL SEQUENCES TO "{{name}}";
ON SEQUENCES TO "{{name}}";
RESET ROLE;"""
),
"revoke": Template(
Expand Down

0 comments on commit 2f55812

Please sign in to comment.