Skip to content

Conversation

@Alxandr
Copy link
Contributor

@Alxandr Alxandr commented Nov 4, 2025

BREAKING-CHANGE: This removes IScopeAccessRequirement,
ScopeAccessRequirement, and ScopeAccessHandler from the
Altinn.Common.PEP package. They have been moved to the new
Altinn.Authorization.Scopes package and renamed to
IAnyOfScopeAuthorizationRequirement. The implementation types have
been made internal, and the handler is added using the extension method
AddAltinnScopesAuthorizationHandlers.


This is part 1 of 2 in a stack made with GitButler:

@Alxandr Alxandr force-pushed the feat/scopes-package branch from 0f3bcda to d08c76f Compare November 4, 2025 20:04
@Alxandr Alxandr mentioned this pull request Nov 4, 2025

namespace Altinn.Authorization.Scopes;

internal sealed class ScopeUtils
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review warnings

@Alxandr Alxandr force-pushed the feat/scopes-package branch from d08c76f to 40b7642 Compare November 5, 2025 10:05
BREAKING-CHANGE: This removes `IScopeAccessRequirement`, 
`ScopeAccessRequirement`, and `ScopeAccessHandler` from the 
`Altinn.Common.PEP` package. They have been moved to the new 
`Altinn.Authorization.Scopes` package and renamed to 
`IAnyOfScopeAuthorizationRequirement`. The implementation types have 
been made internal, and the handler is added using the extension method 
`AddAltinnScopesAuthorizationHandlers`.
@Alxandr Alxandr force-pushed the feat/scopes-package branch from 40b7642 to a333bc8 Compare November 5, 2025 10:19
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2025

Quality Gate Passed Quality Gate passed for 'Authorization Altinn.Authorization.PEP'

Issues
0 New issues
2 Accepted issues

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

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants