Skip to content

Commit 3979743

Browse files
[ERSSUP-89806]-[]-[Swapped user-restricted business function validation to look for new app-restricted business functions]-[JW]
1 parent 1ee4f6b commit 3979743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxies/live/apiproxy/targets/ers-target.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
<Condition>(accesstoken.auth_type == "user")</Condition>
157157
<Request><!--AUTHORISED_APPLICATION business function is not supported in user restricted flow --><Step>
158158
<Name>RaiseFault.403Forbidden</Name>
159-
<Condition>(request.header.nhsd-ers-business-function == "AUTHORISED_APPLICATION")</Condition>
159+
<Condition>(request.header.nhsd-ers-business-function == "PROVIDER_AUTHORISED_APPLICATION") or (request.header.nhsd-ers-business-function == "REFERRER_AUTHORISED_APPLICATION")</Condition>
160160
</Step> <Step>
161161
<Name>AssignMessage.Set.x-ers-access-mode-header-user-restricted</Name>
162162
</Step> <Step>

0 commit comments

Comments
 (0)