Skip to content

Commit

Permalink
Merge pull request #1948 from bcgov/chore/release
Browse files Browse the repository at this point in the history
release: roles with admin
  • Loading branch information
pbastia authored Dec 17, 2024
2 parents e9a1f25 + 6e097fa commit 018b814
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.18.1](https://github.com/bcgov/cas-cif/compare/1.18.0...1.18.1) (2024-12-17)

### Reverts

- Revert "chore: install oc" ([f6db743](https://github.com/bcgov/cas-cif/commit/f6db7436626dba58b33a0be41455ce9ffda0a0df))

# [1.18.0](https://github.com/bcgov/cas-cif/compare/1.17.3...1.18.0) (2024-12-16)

## [1.17.3](https://github.com/bcgov/cas-cif/compare/1.17.1...1.17.3) (2024-12-13)
Expand Down
4 changes: 2 additions & 2 deletions chart/cas-cif/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ dependencies:
- name: certbot
repository: https://bcdevops.github.io/certbot
version: 0.1.3
digest: sha256:22a3c8a861907a570a2415e8c4b5c0a5c7f6ae164207507f093b0bfaa752c8cf
generated: "2024-02-23T14:03:27.259123-08:00"
digest: sha256:d2da5fb2e1380ca061fdadb0e4cbe54137f1e3d43f90afe245339ddb320a771b
generated: "2024-12-16T11:23:41.617911-08:00"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cas-cif",
"version": "1.18.0",
"version": "1.18.1",
"main": "index.js",
"repository": "https://github.com/bcgov/cas-cif.git",
"author": "[email protected]",
Expand Down
10 changes: 5 additions & 5 deletions schema/deploy/create_roles.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,39 @@ begin
from pg_catalog.pg_roles
where rolname = 'cif_internal') then

create role cif_internal;
create role cif_internal with admin current_user;
end if;

if not exists (
select true
from pg_catalog.pg_roles
where rolname = 'cif_external') then

create role cif_external;
create role cif_external with admin current_user;
end if;

if not exists (
select true
from pg_catalog.pg_roles
where rolname = 'cif_admin') then

create role cif_admin;
create role cif_admin with admin current_user;
end if;

if not exists (
select true
from pg_catalog.pg_roles
where rolname = 'cif_guest') then

create role cif_guest;
create role cif_guest with admin current_user;
end if;

if not exists (
select true
from pg_catalog.pg_roles
where rolname = 'cifapp') then

create user cifapp;
create user cifapp with admin current_user;
end if;

grant cif_admin, cif_internal, cif_external, cif_guest to cifapp;
Expand Down
1 change: 1 addition & 0 deletions schema/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -382,3 +382,4 @@ tables/funding_stream_rfp_002 2024-05-28T22:41:57Z Brianna Cerkiewicz <briannace
tables/form_002 [tables/form_001] 2024-12-13T19:25:15Z Pierre Bastianelli <[email protected]> # dropping regprocedure type for column in favour of varchar to allow postgres version upgrade
@1.17.3 2024-12-13T19:33:09Z Pierre Bastianelli <[email protected]> # release v1.17.3
@1.18.0 2024-12-16T18:54:31Z Pierre Bastianelli <[email protected]> # release v1.18.0
@1.18.1 2024-12-17T22:43:51Z Pierre Bastianelli <[email protected]> # release v1.18.1

0 comments on commit 018b814

Please sign in to comment.