We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7da855 commit bea143fCopy full SHA for bea143f
src/Umbraco.Web.Common/Authorization/FeatureAuthorizeHandler.cs
@@ -47,6 +47,13 @@ protected override Task HandleRequirementAsync(AuthorizationHandlerContext conte
47
break;
48
}
49
50
+ case Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext authorizationFilterContext:
51
+ {
52
+ IEndpointFeature endpointFeature = authorizationFilterContext.HttpContext.Features.Get<IEndpointFeature>();
53
+ endpoint = endpointFeature.Endpoint;
54
+ break;
55
+ }
56
+
57
case Endpoint resourceEndpoint:
58
{
59
endpoint = resourceEndpoint;
0 commit comments