Feature: Implement SystemUser API in Altinn Authentication #232
Closed
20 tasks done
Labels
kind/analysis
kind/user-story
Used for issues that describes functionality for our users.
status/draft
Status: When you create an issue before you have enough info to properly describe the issue.
Milestone
Description
We need to build an API to support the administration of system users for organizations. The concept was analyzed in #200 and defined in #331
Organizations can choose to create, update, and soft delete system users.
In the future, this might be expanded to citizens.
These issues cover the API in Altinn Authentication to support this feature. The Persistence layer and the physical database is covered in #361
#329 covers the system register. System_Type is a foreign key to System
The BFF will consume this API from Altinn/altinn-authentication-frontend#23
Tasks
We need an API that can do CRUD operations on system identities.
Create new controller
Finalize system user model (attributes!!!!)
Create API to create SystemUser
Create API to update SystemUser
Create API to delete SystemUser (soft delete)
Create API to list systems users for party
Define Persistance Interface
Implement Persistance Mock
Create needed mock data for tests
Create unit tests covering the API methods. Needs to cover authorization. (PDP Mock can be copied from Access management)
Configure authentication & authorization for API
Update APIM with API (products?)
SystemUser API #369
SystemUser and SystemRegister reiteration #445
Documenation updated: https://docs.altinn.studio/authorization/architecture/authorizationbff.drawio.svg
SystemUserObject stored in database
Change SystemUser table #595
Enrich DTO from ER, Delegationcheck and Tilgansstyring scope in Token #607
Acceptance criteria
The text was updated successfully, but these errors were encountered: