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

[ODS-5532] Update EdFiAuthorizationProvider unit tests for redesigned authorization classes #978

Merged
merged 3 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@ namespace EdFi.Ods.Api.Security.AuthorizationStrategies.NoFurtherAuthorization
public class NoFurtherAuthorizationRequiredAuthorizationStrategy : IAuthorizationStrategy
{
private const string AuthorizationStrategyName = "NoFurtherAuthorizationRequired";

public Task AuthorizeSingleItemAsync(
IEnumerable<Claim> relevantClaims,
EdFiAuthorizationContext authorizationContext,
CancellationToken cancellationToken)
{
// Note: all claim checks are done in the implementation of the IEdFiAuthorizationProvider.
// Do nothing because the resource authorization metadata provider should have returned claims for the
// requested action and the EdFi authorization provider should have validated.
return Task.CompletedTask;
}

/// <summary>
/// Applies filtering to a multiple-item request.
Expand Down
Loading
Loading