Skip to content

Use the appropriate authorization attribute on Web API controllers - #138

Merged
ritchiecarroll merged 2 commits into
masterfrom
secure-grafana-controller
Oct 11, 2026
Merged

ritchiecarroll merged 2 commits into
masterfrom
secure-grafana-controller

Conversation

@StephenCWills

Copy link
Copy Markdown
Member

AuthorizeControllerRoleAttribute applies to MVC controllers, not Web API controllers. As a result, these functions were more accessible than they needed to be.

@StephenCWills
StephenCWills force-pushed the secure-grafana-controller branch from 1c998bc to 66da9a5 Compare October 9, 2026 18:55
@ritchiecarroll
ritchiecarroll merged commit c0d5775 into master Oct 11, 2026
2 checks passed
@StephenCWills
StephenCWills deleted the secure-grafana-controller branch October 12, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants