Altinn / altinn-studio-docs

Documentation for Altinn 3
https://docs.altinn.studio
Apache License 2.0
8 stars 43 forks source link

Missing Authorization policy Role list #339

Open henrili opened 2 years ago

henrili commented 2 years ago

Currently changing authorization roles for an app requires modifying the policy.xml file that is copied into the project when creating a new app. The default file gives access to "DAGL" and "REGNA" (director general and accounting respectively). There is a long list of roles that a user can have, available in Norwegian here, but it does not contain the codes needed to edit the policy.xml file.

The only place I have found that has these codes documented is inside the development environment for Altinn 2 (TUL), which can be a real hassle to log in to.

An overview should be published here in altinn-studio-docs, and be linked to from the documentation of the policy.xml-file.

henrili commented 2 years ago

For future reference; copying in link supplied in Slack by @lvbachmann https://www.altinn.no/api/metadata/roledefinitions