|
|
|
@ -11,6 +11,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
|
|
|
|
{
|
|
|
|
|
services.Replace(ServiceDescriptor.Singleton<IAuthorizationService, AlwaysAllowAuthorizationService>());
|
|
|
|
|
services.Replace(ServiceDescriptor.Singleton<IAbpAuthorizationService, AlwaysAllowAuthorizationService>());
|
|
|
|
|
services.Replace(ServiceDescriptor.Singleton<IMethodInvocationAuthorizationService, AlwaysAllowMethodInvocationAuthorizationService>());
|
|
|
|
|
return services.Replace(ServiceDescriptor.Singleton<IPermissionChecker, AlwaysAllowPermissionChecker>());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|