You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apps must be referenced with urn:altinn:resource:app_{app}_{org}
Actual behavior
Apps must be referenced with urn:altinn:app:app_{app}_{org}
Additional information
app_ is a reserved prefix, and all values can be assumed to have that format. This should trigger how XACML requests are built (ie. use urn:altinn:app/urn:altinn:org as resource attribute ids instead of urn:altinn:resource)
The text was updated successfully, but these errors were encountered:
## Description
This fixes the handling of service resource values referring to Altinn
apps so that they too use the same prefix as generic resources. The
decision request helper now only checks for the reserved resource name
prefix (`app_`) in order to determine how the XACML request should be
constructed.
## Related Issue(s)
- #681
## Verification
- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [x] Relevant automated test added (if you find this hard, leave it and
we'll help out)
## Documentation
- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
Description
See https://altinndevops.slack.com/archives/CCJJWCBJQ/p1714383798135549
Expected behavior
Apps must be referenced with
urn:altinn:resource:app_{app}_{org}
Actual behavior
Apps must be referenced with
urn:altinn:app:app_{app}_{org}
Additional information
app_
is a reserved prefix, and all values can be assumed to have that format. This should trigger how XACML requests are built (ie. useurn:altinn:app
/urn:altinn:org
as resource attribute ids instead ofurn:altinn:resource
)The text was updated successfully, but these errors were encountered: