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

Access Management: Entity Attribute Resolver #577

Open
1 task
Tracked by #657
jonkjetiloye opened this issue Jan 12, 2024 · 0 comments
Open
1 task
Tracked by #657

Access Management: Entity Attribute Resolver #577

jonkjetiloye opened this issue Jan 12, 2024 · 0 comments
Assignees
Labels
kind/user-story Used for issues that describes small and deliverable functionality for our users.

Comments

@jonkjetiloye
Copy link
Member

jonkjetiloye commented Jan 12, 2024

Description

Refactoring to handle new identifier for ssn/org-no attribute type, in both input and output.
If we are to roll-out this change without downtime we will need to handle both legacy and new values.

Old New
urn:altinn:ssn urn:altinn:person:identifier-no
urn:altinn:organizationnumber urn:altinn:organization:identifier-no

For new output attribute values define the entity type:

Type Values
urn:altinn:entity:type person
organization
enterpriseuser
systemuser(TBD)

This format will allow us to add additional and different sets of attribute types depending on the type of entity

Entity Attributes
urn:altinn:person urn:altinn:person:identifier-no
urn:altinn:person:uuid
urn:altinn:person:name:shortname
urn:altinn:person:name:firstname
urn:altinn:person:name:middlename
urn:altinn:person:name:lastname
urn:altinn:organization urn:altinn:organization:identifier-no
urn:altinn:organization:uuid
urn:altinn:organization:name
urn:altinn:enterpriseuser urn:altinn:enterpriseuser:username
urn:altinn:enterpriseuser:uuid
urn:altinn:enterpriseuser:organization:uuid
urn:altinn:systemuser(TBD) urn:altinn:systemuser:uuid
urn:altinn:systemuser:name

Additional Information

See epic/parent issue: Altinn/altinn-authorization#657

Tasks

  • Create EntityAttributeResolvers (input/output versions?)

Acceptance Criterias

@jonkjetiloye jonkjetiloye added kind/user-story Used for issues that describes small and deliverable functionality for our users. refinement An issue that needs to be refined labels Jan 12, 2024
@jonkjetiloye jonkjetiloye transferred this issue from Altinn/altinn-authorization Jan 12, 2024
@andreasisnes andreasisnes moved this from 📈 Backlog to 👷In Progress in Team Tilgangsstyring & Kontroll Jan 16, 2024
@andreasisnes andreasisnes self-assigned this Jan 16, 2024
@rtafj rtafj removed the refinement An issue that needs to be refined label Jan 22, 2024
@andreasisnes andreasisnes moved this from 👷In Progress to 🔎Review in Team Tilgangsstyring & Kontroll Jan 29, 2024
@andreasisnes andreasisnes moved this from 🔎Review to 🧪Test in Team Tilgangsstyring & Kontroll Feb 29, 2024
@andreasisnes andreasisnes moved this from 🧪Test to ✅ Done in Team Tilgangsstyring & Kontroll Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/user-story Used for issues that describes small and deliverable functionality for our users.
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants