Altinn / Altinn/app-lib-dotnet

API for access grant information

Open
#939 0 comments 0 reactions 0 assignees View on GitHub
kind/feature-request org/skd status/triage
Dominant language
C#
Stars
8
Forks
27
Avg merge
1h 21m
Merged PRs (30d)
7

Description

### Description

As a service owner I would like to know what roles a logged inn user has that gave access to a given service in order to be able to write this to the data model and later use this as a audit log when receving the data in our end.

The solution should be provided as a .Net API in Altinn.App.Core Nuget package and be accessible as a injectable service to be used in custom code. Potentially later be extended as a configurable prefil source to be configured in Studio.

The implementation depends on this information being provided as a API by Autorization. This API does not currently exists today on Altinn 3. This was however a feature on Altinn 2 when requesting access to a link service (lenketjeneste).

### Additional Information

Request written on behalf of Skatt/Ruben Torp Kvasjord and their MVA service if further details are needed.

Contributor guide

Open the contributing guide

Research direction

Begin by verifying whether the Autorization API now exposes the access-grant roles described in the issue; the issue says this dependency did not exist in Altinn 3. Then inspect the Altinn.App.Core Nuget package and its injectable-service entry points. Done means a usable .NET API for custom code that returns the logged-in user's roles for a given service.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.