Closed ghost closed 1 week ago
Rules should ideally be unique across all policies, so that they can be used by Altinn Authorization. Currently that is not the case
Suggestion:
altinn:urn:{{org}}:{{app}}:{{ruleId}}
where ruleId
is the id that the app developer gives to the rule (which is then something we should validate is unique within the policy file).
Description
Right now, it is unclear how the ruleId should be set for a rule in a policy. Once it is confirmed how the id should be set, the code must be updated. Fille:
frontend/packages/policy-editor/src/PolicyEditor.tsx
. At the moment, it is set like this${resourceType}:${usageType` === 'app' ? 'example' : resourceId}:ruleid:${pr.ruleId}
.Additional Information
No response
Tasks
No response
Acceptance Criterias
No response