Skip to content

Commit b0363ef

Browse files
committed
Merge in 'release/7.0' changes
2 parents 55f08c3 + cd151ef commit b0363ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ namespace Microsoft.AspNetCore.Mvc.Authorization;
1818
/// <see cref="AuthorizationPolicy"/>. MVC recognizes the <see cref="AuthorizeAttribute"/> and adds an instance of
1919
/// this filter to the associated action or controller.
2020
/// </summary>
21+
/// <remarks>
22+
/// An authorize filter is not meant to be used in combination with <see cref="AuthorizationOptions.FallbackPolicy"/>.
23+
/// The fallback policy takes precedence over an authorize filter.
24+
/// </remarks>
2125
public class AuthorizeFilter : IAsyncAuthorizationFilter, IFilterFactory
2226
{
2327
/// <summary>

0 commit comments

Comments
 (0)