Skip to content

Commit 0e50d10

Browse files
NPA-4599: set default auth_forbidden to False
1 parent c62eaaa commit 0e50d10

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

proxies/live/apiproxy/resources/py/check-app-enabled-endpoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
("/fhir/r4/questionnaireresponse", "post"),
77
]
88

9+
auth_forbidden = False
910
for blocked_resources in blocked_resources:
1011
if blocked_resources[0] in path_suffix and blocked_resources[1] == request_verb:
1112
auth_forbidden = True

proxies/live/apiproxy/resources/py/check-user-enabled-endpoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
else:
1010
blocked_resources = []
1111

12+
auth_forbidden = False
1213
for blocked_resources in blocked_resources:
1314
if blocked_resources[0] in path_suffix and blocked_resources[1] == request_verb:
1415
auth_forbidden = True

0 commit comments

Comments
 (0)