Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: roles with admin #1948

Merged
merged 6 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "ggircs@gov.bc.ca",
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 <pierre.bastianelli@gov.bc.ca> # dropping regprocedure type for column in favour of varchar to allow postgres version upgrade
@1.17.3 2024-12-13T19:33:09Z Pierre Bastianelli <pierre.bastianelli@gov.bc.ca> # release v1.17.3
@1.18.0 2024-12-16T18:54:31Z Pierre Bastianelli <pierre.bastianelli@gov.bc.ca> # release v1.18.0
@1.18.1 2024-12-17T22:43:51Z Pierre Bastianelli <pierre.bastianelli@gov.bc.ca> # release v1.18.1
Loading