Skip to content

Commit

Permalink
Revoke select permissions from reporter on receiving.consensus_genome
Browse files Browse the repository at this point in the history
  • Loading branch information
davereinhart committed Aug 18, 2023
1 parent fdaa5da commit 0d1423a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Deploy seattleflu/schema:roles/reporter/revoke-select-on-receiving-consensus-genome to pg

begin;

revoke select on receiving.consensus_genome from reporter;

commit;
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Revert seattleflu/schema:roles/reporter/revoke-select-on-receiving-consensus-genome from pg

begin;

grant select on receiving.consensus_genome to reporter;

commit;
3 changes: 3 additions & 0 deletions schema/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,6 @@ warehouse/sequence-read-set/access-role-rls 2023-07-27T21:32:39Z Dave Reinhart <
@2023-07-27 2023-07-27T21:44:39Z Dave Reinhart <[email protected]> # Schema as of 27 July 2023
shipping/views [shipping/views@2023-07-27] 2023-07-27T22:31:51Z Dave Reinhart <[email protected]> # Add security invoker to shipping views for row-level security
@2023-07-28 2023-07-27T22:41:52Z Dave Reinhart <[email protected]> # Schema as of 28 July 2023

roles/reporter/revoke-select-on-receiving-consensus-genome 2023-08-18T23:41:26Z Dave Reinhart <[email protected]> # Revoke select permissions on receiving.consensus_genome from reporter.
@2023-08-18 2023-08-18T23:51:56Z Dave Reinhart <[email protected]> # Schema as of 18 August 2023
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Verify seattleflu/schema:roles/reporter/revoke-select-on-receiving-consensus-genome on pg

begin;



rollback;

0 comments on commit 0d1423a

Please sign in to comment.