-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revoke select permissions from reporter on receiving.consensus_genome…
… and receiving.sequence_read_set
- Loading branch information
1 parent
fdaa5da
commit 05bb235
Showing
7 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
schema/deploy/roles/reporter/revoke-select-on-receiving-consensus-genome.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
7 changes: 7 additions & 0 deletions
7
schema/deploy/roles/reporter/revoke-select-on-receiving-sequence-read-set.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- Deploy seattleflu/schema:roles/reporter/revoke-select-on-receiving-sequence-read-set to pg | ||
|
||
begin; | ||
|
||
revoke select on receiving.sequence_read_set from reporter; | ||
|
||
commit; |
7 changes: 7 additions & 0 deletions
7
schema/revert/roles/reporter/revoke-select-on-receiving-consensus-genome.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
7 changes: 7 additions & 0 deletions
7
schema/revert/roles/reporter/revoke-select-on-receiving-sequence-read-set.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- Revert seattleflu/schema:roles/reporter/revoke-select-on-receiving-sequence-read-set from pg | ||
|
||
begin; | ||
|
||
grant select on receiving.sequence_read_set to reporter; | ||
|
||
commit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,3 +251,7 @@ 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. | ||
roles/reporter/revoke-select-on-receiving-sequence-read-set 2023-08-21T17:02:31Z Dave Reinhart <[email protected]> # Revoke select permissions on receiving.sequence_read_set from reporter. | ||
@2023-08-21 2023-08-21T17:58:25Z Dave Reinhart <[email protected]> # Schema as of 21 August 2023 |
7 changes: 7 additions & 0 deletions
7
schema/verify/roles/reporter/revoke-select-on-receiving-consensus-genome.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
|
||
select 1/(not pg_catalog.has_table_privilege('reporter', 'receiving.consensus_genome', 'select'))::int; | ||
|
||
rollback; |
7 changes: 7 additions & 0 deletions
7
schema/verify/roles/reporter/revoke-select-on-receiving-sequence-read-set.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- Verify seattleflu/schema:roles/reporter/revoke-select-on-receiving-sequence-read-set on pg | ||
|
||
begin; | ||
|
||
select 1/(not pg_catalog.has_table_privilege('reporter', 'receiving.sequence_read_set', 'select'))::int; | ||
|
||
rollback; |