Skip to content

Commit 733ec02

Browse files
committed
add spec verification file
1 parent 301807c commit 733ec02

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

test/Altinn.App.Integration.Tests/CustomScopes/_snapshots/CustomScopesTests.Metadata_Custom_0_Metadata.verified.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,20 @@
407407
requiredScopesServiceOwners: null
408408
}
409409
},
410+
{
411+
endpoint: GET {org}/{app}/instance/{instanceOwnerPartyId:int}/{instanceId}/layouts/{layoutSetId},
412+
metadata: {
413+
errorMessageTextResourceKeyUser: authorization.scopes.insufficient,
414+
errorMessageTextResourceKeyServiceOwner: authorization.scopes.insufficient,
415+
requiredScopesUsers: [
416+
custom:instances.read,
417+
altinn:portal/enduser
418+
],
419+
requiredScopesServiceOwners: [
420+
custom:serviceowner/instances.read
421+
]
422+
}
423+
},
410424
{
411425
endpoint: GET {org}/{app}/instances/{instanceOwnerId:int}/{instanceId:guid}/data/{dataGuid:guid}/validate,
412426
metadata: {

test/Altinn.App.Integration.Tests/CustomScopes/_snapshots/CustomScopesTests.Metadata_Standard_0_Metadata.verified.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,15 @@
382382
requiredScopesServiceOwners: null
383383
}
384384
},
385+
{
386+
endpoint: GET {org}/{app}/instance/{instanceOwnerPartyId:int}/{instanceId}/layouts/{layoutSetId},
387+
metadata: {
388+
errorMessageTextResourceKeyUser: null,
389+
errorMessageTextResourceKeyServiceOwner: null,
390+
requiredScopesUsers: null,
391+
requiredScopesServiceOwners: null
392+
}
393+
},
385394
{
386395
endpoint: GET {org}/{app}/instances/{instanceOwnerId:int}/{instanceId:guid}/data/{dataGuid:guid}/validate,
387396
metadata: {

test/Altinn.App.Integration.Tests/PartyTypesAllowed/_snapshots/SubunitOnlyAppTests.ApplicationMetadata_0.verified.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
Response: {
5656
Id: ttd/basic,
5757
Features: {
58+
addInstanceIdentifierToLayoutRequests: false,
5859
footer: true,
5960
jsonObjectInDataResponse: false,
6061
processActions: true

0 commit comments

Comments
 (0)