Skip to content

Commit

Permalink
Testdata: Added roles for testing signing (#27)
Browse files Browse the repository at this point in the history
* Added extra roles for testing different users with different roles

* change to correct auditor role

* only one DAGL and auditor
  • Loading branch information
bjosttveit authored Mar 2, 2023
1 parent ac3ea1c commit 4270700
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
12 changes: 12 additions & 0 deletions testdata/authorization/partylist/1001.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,17 @@
"person": null,
"organisation": null,
"childParties": null
},
{
"partyId": "500000",
"partyTypeName": 2,
"OrgNumber": "897069650",
"unitType": "AS",
"name": "DDG Fitness AS",
"isDeleted": false,
"onlyHierarchyElementWithNoAccess": false,
"person": null,
"organisation": null,
"childParties": null
}
]
12 changes: 12 additions & 0 deletions testdata/authorization/partylist/1002.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,17 @@
"person": null,
"organisation": null,
"childParties": null
},
{
"partyId": "500000",
"partyTypeName": 2,
"OrgNumber": "897069650",
"unitType": "AS",
"name": "DDG Fitness AS",
"isDeleted": false,
"onlyHierarchyElementWithNoAccess": false,
"person": null,
"organisation": null,
"childParties": null
}
]
14 changes: 14 additions & 0 deletions testdata/authorization/roles/User_1001/party_500000/roles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"Type": "altinn",
"value": "A0239"
},
{
"Type": "altinn",
"value": "A0240"
},
{
"Type": "altinn",
"value": "A0241"
}
]
10 changes: 10 additions & 0 deletions testdata/authorization/roles/User_1002/party_500000/roles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"Type": "altinn",
"value": "A0237"
},
{
"Type": "altinn",
"value": "A0238"
}
]

0 comments on commit 4270700

Please sign in to comment.