-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MaskinportenSchema Delegations (#855)
* Because of change in RightsHelper.GetRightsQuery now takes the full ServiceResource model as input to build the rights query, based on the resource's 'authorizationReference' property. Since the ValidateMaskinportenDelegationModel method use the GET resource/{resourceId} endpoint in ResourceRegistry (which apparently don't return the 'authorizationReference' property), API delegations now fail. Fix: Updated ValidateMaskinportenDelegationModel method to also use the ResourceList API endpoint, same as the DelegationCheck operation does. * Fix faulty test condition in bruno test after respons model change --------- Co-authored-by: Jon Kjetil Øye <acn-joye@ai-dev.no>
- Loading branch information
1 parent
b5fd2a2
commit add6082
Showing
3 changed files
with
211 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters