Skip to content

Commit f7381a8

Browse files
committed
NRL-1933 fix merge conflicts
1 parent 43f5464 commit f7381a8

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

scripts/get_s3_permissions.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def add_feature_test_files(local_path):
8585
[PointerTypes.EOL_CARE_PLAN.value],
8686
[],
8787
), # http://snomed.info/sct|736373009
88-
("app-t004", "ODS1", [PointerTypes.PERSONALISED_CARE_AND_SUPPORT_PLAN]),
88+
("app-t004", "ODS1", [PointerTypes.PERSONALISED_CARE_AND_SUPPORT_PLAN], []),
8989
(
9090
"z00z-y11y-x22x",
9191
"4LLTYP35P",
@@ -106,16 +106,17 @@ def add_feature_test_files(local_path):
106106
]
107107
app_permissions = {
108108
"consumer": [
109-
("app-t001", [PointerTypes.MENTAL_HEALTH_PLAN]),
109+
("app-t001", [PointerTypes.MENTAL_HEALTH_PLAN], []),
110110
(
111111
"app-t002",
112112
[
113113
PointerTypes.ADVANCE_CARE_PLAN,
114114
PointerTypes.EMERGENCY_HEALTHCARE_PLAN,
115115
PointerTypes.NEWS2_CHART,
116116
],
117+
[],
117118
),
118-
("app-t004", [PointerTypes.APPOINTMENT]),
119+
("app-t004", [PointerTypes.APPOINTMENT], []),
119120
],
120121
"producer": [
121122
("app-t001", [PointerTypes.EOL_COORDINATION_SUMMARY]),
@@ -126,16 +127,17 @@ def add_feature_test_files(local_path):
126127
PointerTypes.EMERGENCY_HEALTHCARE_PLAN,
127128
PointerTypes.NEWS2_CHART,
128129
],
130+
[],
129131
),
130-
("app-t004", [PointerTypes.APPOINTMENT]),
132+
("app-t004", [PointerTypes.APPOINTMENT], []),
131133
],
132134
}
133135
[
134136
_write_permission_file(
135137
Path.joinpath(local_path, actor_type), app_id, pointer_types
136138
)
137139
for actor_type, entries in app_permissions.items()
138-
for app_id, pointer_types in entries
140+
for app_id, pointer_types, access_controls in entries
139141
]
140142

141143

tests/features/producer/v2-permissions-app-level

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ Feature: Producer v2 permissions by pointer type - Success and Failure Scenarios
118118

119119
Scenario: V2 Permissions with org-level permissions for requested type but app level permissions for other types
120120
Given the application 'ProducerTest004' (ID 'app-t004') is registered to access the API
121-
When producer v2 'ORGA' creates a DocumentReference with values:
121+
When producer v2 'ODS1' creates a DocumentReference with values:
122122
| property | value |
123123
| subject | 9278693472 |
124124
| status | current |
125-
| type | 749001000000101 |
125+
| type | 2181441000000107 |
126126
| category | 734163000 |
127127
| custodian | ODS1 |
128128
| author | HAR1 |

0 commit comments

Comments
 (0)