-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/app/happo-e2e-2.6.1
- Loading branch information
Showing
5 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
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
17 changes: 17 additions & 0 deletions
17
db/deploy/tables/communities_source_data_001_service_account.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,17 @@ | ||
-- Deploy ccbc:tables/communities_source_data_001_service_account to pg | ||
|
||
BEGIN; | ||
|
||
do | ||
$grant$ | ||
begin | ||
|
||
-- Grant ccbc_service_account permissions | ||
perform ccbc_private.grant_permissions('select', 'communities_source_data', 'ccbc_service_account'); | ||
perform ccbc_private.grant_permissions('insert', 'communities_source_data', 'ccbc_service_account'); | ||
perform ccbc_private.grant_permissions('update', 'communities_source_data', 'ccbc_service_account'); | ||
|
||
end | ||
$grant$; | ||
|
||
COMMIT; |
9 changes: 9 additions & 0 deletions
9
db/revert/tables/communities_source_data_001_service_account.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,9 @@ | ||
-- Revert ccbc:tables/communities_source_data_001_service_account from pg | ||
|
||
BEGIN; | ||
|
||
revoke select on ccbc_public.communities_source_data from ccbc_service_account; | ||
revoke update on ccbc_public.communities_source_data from ccbc_service_account; | ||
revoke insert on ccbc_public.communities_source_data from ccbc_service_account; | ||
|
||
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 |
---|---|---|
|
@@ -650,3 +650,5 @@ mutations/edit_cbc_project_communities 2024-08-21T15:16:56Z Anthony Bushara <ant | |
@1.186.0 2024-08-27T20:55:46Z CCBC Service Account <[email protected]> # release v1.186.0 | ||
@1.186.1 2024-08-27T22:52:17Z CCBC Service Account <[email protected]> # release v1.186.1 | ||
@1.186.2 2024-08-28T15:58:56Z CCBC Service Account <[email protected]> # release v1.186.2 | ||
tables/communities_source_data_001_service_account 2024-08-28T16:32:48Z Rafael Solorzano <[email protected]> # grants service account to communities source data table | ||
@1.186.3 2024-08-28T17:01:51Z CCBC Service Account <[email protected]> # release v1.186.3 |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "CONN-CCBC-portal", | ||
"version": "1.186.2", | ||
"version": "1.186.3", | ||
"main": "index.js", | ||
"repository": "https://github.com/bcgov/CONN-CCBC-portal.git", | ||
"author": "Romer, Meherzad CITZ:EX <[email protected]>", | ||
|