Altinn / altinn-access-management-frontend

Frontend for access management
MIT License
3 stars 1 forks source link

Use new endpoint for fetching reportee #834

Closed allinox closed 2 months ago

allinox commented 3 months ago

Description

This change switches lookup of reportee/authorized party to using a new endpoint in backend that includes delegations performed in A3 for more accurate calculation of authorization.

In addition to this, a minor change is done to facilitate running the frontend with the backend locally

This PR does not add BFF mocking for this call, as LookUpClient isn't currently mocked at all. That can wait since the LookupClient will be combined into an AccessManagementClient sometime soon anyway, which will then have a mock client.

Related Issue(s)

Verification

Documentation

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
57.1% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Albertlarsen commented 2 months ago

Is this PR connected to this issue? @allinox 😃 I see this relates to it's own PR 😅

776