Few Errors in Role-based authorization in ASP.NET Core DOC #34463
Labels
aspnet-core/svc
security/subsvc
Source - Docs.ms
Docs Customer feedback via GitHub Issue
⌚ Not Triaged
Description
The following section describes the functionality of the Authorize attribute incorrectly
`In the preceding ControlAllPanelController controller:
Members of the Administrator role or the PowerUser role can access the controller and the SetTime action.
Only members of the Administrator role can access the ShutDown action.`
Correction:
`In the preceding ControlAllPanelController controller:
Members of the Administrator role can access the Set Time action.
Members of the Administrator role and the PowerUser role can access the controller the ShutDown action
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/roles?view=aspnetcore-5.0&preserve-view=true#adding-role-checks
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/roles.md
Document ID
980a23e7-56e4-da94-a139-cab85135c5f7
Article author
@Rick-Anderson
Related Issues
The text was updated successfully, but these errors were encountered: