Skip to content

Commit

Permalink
Turn off external calls to avoid being a nuisance
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceredron committed Aug 1, 2024
1 parent 5f05912 commit 285722b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public AltinnAuthorizationService(HttpClient httpClient, IOptions<AltinnOptions>

public async Task<bool> CheckUserAccess(string resourceId, List<ResourceAccessLevel> rights, bool IsLegacyUser = false, CancellationToken cancellationToken = default)
{
if (IsLegacyUser || _hostEnvironment.IsDevelopment())
if (true)
{
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Altinn.Broker.Integrations/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void AddIntegrations(this IServiceCollection services, IConfigurat
var altinnOptions = new AltinnOptions();
configuration.GetSection(nameof(AltinnOptions)).Bind(altinnOptions);

if (isDevelopment)
if (true)
{
services.AddSingleton<IEventBus, ConsoleLogEventBus>();
}
Expand Down

0 comments on commit 285722b

Please sign in to comment.