Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DelegationCheck should fail if the request contains multiple resources of the same type. #810

Open
nairaz opened this issue Sep 9, 2024 · 0 comments
Assignees
Labels
kind/bug Used when something isn't working

Comments

@nairaz
Copy link

nairaz commented Sep 9, 2024

Description of the bug

Gets a response based on the first one in the list instead of failing with an error message indicating that the request is invalid

Steps To Reproduce

Kjør følgende request med gitt partyid og testmiljø

{{platformenvurl}}/accessmanagement/api/v1/internal/partyid/rights/delegation/delegationcheck
{
"resource": [
{
"id": "urn:altinn:resource",
"value": "Fraværsportalen"
},
{
"id": "urn:altinn:resource",
"value": "kravogbetaling"
}
]
}

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Used when something isn't working
Projects
Development

No branches or pull requests

2 participants