Skip to content

Commit 380c180

Browse files
authored
Merge pull request #5836 from nhsuk/support-org-setting-mav-2756
Support org setting
2 parents c68fb29 + 863375c commit 380c180

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

app/models/cis2_info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class CIS2Info
88
SUPPORT_ROLE = "S8001:G8005:R8015"
99

1010
SUPPORT_WORKGROUP = "mavissupport"
11-
SUPPORT_ORGANISATION = "Y90128"
11+
SUPPORT_ORGANISATION = Settings.cis2.support_organisation
1212

1313
ACCESS_SENSITIVE_FLAGGED_RECORDS_ACTIVITY_CODE = "B1611"
1414
INDEPENDENT_PRESCRIBING_ACTIVITY_CODE = "B0420"

config/settings.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ cis2:
2020
private_key: |
2121
<%= Rails.application.credentials.cis2&.private_key&.gsub(/^/, " ") %>
2222
secret: <%= Rails.application.credentials.cis2&.secret %>
23+
support_organisation: Y90128
2324

2425
govuk_notify:
2526
enabled: true

config/settings/staging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ nhs_api:
1111
# Devise.
1212
cis2:
1313
issuer: "https://am.nhsint.auth-ptl.cis2.spineservices.nhs.uk:443/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare"
14+
support_organisation: RX4
1415

1516
pds:
1617
raise_unknown_gp_practice: false

0 commit comments

Comments
 (0)