File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
aspnetcore/security/authorization Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ Access to an action can be limited by applying additional role authorization att
59
59
60
60
In the preceding ` ControlAllPanelController ` controller:
61
61
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.
64
64
65
65
A controller can be secured but allow anonymous, unauthenticated access to individual actions:
66
66
@@ -138,8 +138,8 @@ If multiple attributes are applied at the controller and action levels, ***all**
138
138
139
139
In the preceding ` ControlAllPanelController ` controller:
140
140
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.
143
143
144
144
You can also lock down a controller but allow anonymous, unauthenticated access to individual actions.
145
145
You can’t perform that action at this time.
0 commit comments