Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/app/happo-e2e-2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RRanath authored Aug 28, 2024
2 parents 7ec04c8 + 3bf934c commit 7f06083
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.186.3](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.186.2...v1.186.3) (2024-08-28)

### Bug Fixes

- sa permission for communities source data ([cc1d2e3](https://github.com/bcgov/CONN-CCBC-portal/commit/cc1d2e3e17e82d7807d078d1895cbfdb36958f7c))

## [1.186.2](https://github.com/bcgov/CONN-CCBC-portal/compare/v1.186.1...v1.186.2) (2024-08-28)

### Bug Fixes
Expand Down
17 changes: 17 additions & 0 deletions db/deploy/tables/communities_source_data_001_service_account.sql
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;
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;
2 changes: 2 additions & 0 deletions db/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion package.json
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]>",
Expand Down

0 comments on commit 7f06083

Please sign in to comment.