Skip to content

Commit 9810a1c

Browse files
authored
Fix monikers for Policy-Based Authz (dotnet#22427)
1 parent cd6f04f commit 9810a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/security/authorization/policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ if (context.Resource is AuthorizationFilterContext mvcContext)
252252

253253
::: moniker-end
254254

255-
::: moniker range=">= aspnetcore-3.0"
255+
::: moniker range=">= aspnetcore-3.0 < aspnetcore-5.0"
256256

257257
Underneath the covers, [role-based authorization](xref:security/authorization/roles) and [claims-based authorization](xref:security/authorization/claims) use a requirement, a requirement handler, and a pre-configured policy. These building blocks support the expression of authorization evaluations in code. The result is a richer, reusable, testable authorization structure.
258258

0 commit comments

Comments
 (0)