Skip to content

Commit a5845bc

Browse files
committed
fix role access descriptions in authorization documentation
1 parent f951168 commit a5845bc

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

aspnetcore/security/authorization/roles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Access to an action can be limited by applying additional role authorization att
5959

6060
In the preceding `ControlAllPanelController` controller:
6161

62-
* Members of the `Administrator` role or the `PowerUser` role can access the controller and the `ShutDown` action.
63-
* Only members of the `Administrator` role can access the `SetTime` action.
62+
* Members of the `Administrator` role or the `PowerUser` role can access the controller and the `SetTime` action.
63+
* Only members of the `Administrator` role can access the `ShutDown` action.
6464

6565
A controller can be secured but allow anonymous, unauthenticated access to individual actions:
6666

@@ -138,8 +138,8 @@ If multiple attributes are applied at the controller and action levels, ***all**
138138

139139
In the preceding `ControlAllPanelController` controller:
140140

141-
* Members of the `Administrator` role or the `PowerUser` role can access the controller and the `SetTime` action.
142-
* Only members of the `Administrator` role can access the `ShutDown` action.
141+
* Members of the `Administrator` role can access the controller and the `SetTime` action.
142+
* Only members of the `Administrator` **and** the `PowerUser` role can access the `ShutDown` action.
143143

144144
You can also lock down a controller but allow anonymous, unauthenticated access to individual actions.
145145

0 commit comments

Comments
 (0)