Skip to content

Commit

Permalink
fix: enable authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
jvandaal authored and ArneD committed Apr 8, 2024
1 parent 90e315a commit 5ff1bd3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ nuget Be.Vlaanderen.Basisregisters.AggregateSource.Testing.SqlStreamStore.Autofa
nuget Be.Vlaanderen.Basisregisters.AggregateSource.Testing.Xunit 9.0.1
nuget Be.Vlaanderen.Basisregisters.SnapshotVerifier 9.0.1

nuget Be.Vlaanderen.Basisregisters.Api 23.0.0
nuget Be.Vlaanderen.Basisregisters.Api 23.1.0

nuget Be.Vlaanderen.Basisregisters.Aws.DistributedMutex 4.0.1
nuget Be.Vlaanderen.Basisregisters.Aws.Lambda 4.0.0
Expand Down
2 changes: 1 addition & 1 deletion paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ NUGET
Be.Vlaanderen.Basisregisters.AggregateSource.Testing (9.0.1)
Microsoft.Extensions.Logging (>= 8.0)
xunit (>= 2.7)
Be.Vlaanderen.Basisregisters.Api (23.0)
Be.Vlaanderen.Basisregisters.Api (23.1)
Asp.Versioning.Mvc.ApiExplorer (>= 8.0)
Autofac (>= 8.0)
Autofac.Extensions.DependencyInjection (>= 9.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public void Configure(
MiddlewareHooks =
{
AfterMiddleware = x => x.UseMiddleware<AddNoCacheHeadersMiddleware>(),
EnableAuthorization = true
}
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
namespace StreetNameRegistry.Api.BackOffice
{
using Abstractions;
using System.Threading;
using System.Threading.Tasks;
using Abstractions.Requests;
using Be.Vlaanderen.Basisregisters.Auth.AcmIdm;
using Abstractions.SqsRequests;
using Abstractions.Validation;
using Be.Vlaanderen.Basisregisters.Api.Exceptions;
using Be.Vlaanderen.Basisregisters.Auth.AcmIdm;
using Be.Vlaanderen.Basisregisters.GrAr.Provenance;
using Be.Vlaanderen.Basisregisters.Sqs.Exceptions;
using FluentValidation;
Expand All @@ -12,10 +15,6 @@ namespace StreetNameRegistry.Api.BackOffice
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Filters;
using System.Threading;
using System.Threading.Tasks;
using Abstractions.SqsRequests;
using Abstractions.Validation;

public partial class StreetNameController
{
Expand Down

0 comments on commit 5ff1bd3

Please sign in to comment.