Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions migrations/0006_puzzle_gravity_permissions.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-- Runtime pools use least-privilege roles rather than the migration owner.
GRANT SELECT, INSERT, UPDATE, DELETE ON TABLE
puzzle_content_revisions,
puzzle_content_blocks,
puzzle_content_targets,
puzzle_content_rules
TO analytics_writer;

GRANT SELECT ON TABLE
puzzle_content_revisions,
puzzle_content_blocks,
puzzle_content_targets,
puzzle_content_rules
TO analytics_reader;
Loading