Skip to content

Commit 35792bb

Browse files
Update roles.md (#34464)
Fixes #34463
1 parent cfd160d commit 35792bb

File tree

1 file changed

+3
-3
lines changed
  • aspnetcore/security/authorization

1 file changed

+3
-3
lines changed

aspnetcore/security/authorization/roles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: rick-anderson
44
description: Learn how to restrict ASP.NET Core controller and action access by passing roles to the Authorize attribute.
55
ms.author: riande
66
monikerRange: '>= aspnetcore-3.1'
7-
ms.date: 10/14/2016
7+
ms.date: 10/14/2024
88
uid: security/authorization/roles
99
---
1010
# Role-based authorization in ASP.NET Core
@@ -57,8 +57,8 @@ Access to an action can be limited by applying additional role authorization att
5757

5858
In the preceding `ControlAllPanelController` controller:
5959

60-
* Members of the `Administrator` role or the `PowerUser` role can access the controller and the `SetTime` action.
61-
* Only members of the `Administrator` role can access the `ShutDown` action.
60+
* Members of the `Administrator` role or the `PowerUser` role can access the controller and the `ShutDown` action.
61+
* Only members of the `Administrator` role can access the `SetTime` action.
6262

6363
A controller can be secured but allow anonymous, unauthenticated access to individual actions:
6464

0 commit comments

Comments
 (0)