When SecutiryTrimming is enabled adding the [Authorize] attribute to a controller does not hide it's action methods #7248
Labels
Bug
C: Menu
FP: Completed
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
SEV: Medium
Milestone
Bug report
Adding the
[Authorize]
attribute to a controller does not hide the action methods when SecurityTrimming is enabled.Reproduction of the problem
[Authorize]
attribute to a controller:Current behavior
The Index and About menu items will not be hidden.
Expected/desired behavior
The Index and About menu items should be hidden when the
[Authorize]
attribute is added to the controller.Environment
The text was updated successfully, but these errors were encountered: