Skip to content

fix(sec): enforce adminMiddleware check on admin metrics endpoint (#11590) - #11663

Open
jihadMo wants to merge 1 commit into
SecureBananaLabs:mainfrom
jihadMo:fix/admin-metrics-rbac-authorization
Open

fix(sec): enforce adminMiddleware check on admin metrics endpoint (#11590)#11663
jihadMo wants to merge 1 commit into
SecureBananaLabs:mainfrom
jihadMo:fix/admin-metrics-rbac-authorization

Conversation

@jihadMo

@jihadMo jihadMo commented Aug 9, 2026

Copy link
Copy Markdown

Resolves #11590 /claim #11590.

Adds \�dminMiddleware\ RBAC check to \�pps/api/src/middleware/auth.js\ and applies it to \�pps/api/src/routes/adminRoutes.js, backed by unit test suite in \�pps/api/src/routes/admin-rbac.test.js.

github-actions Bot added a commit that referenced this pull request Aug 9, 2026
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.

Bug: Missing admin role authorization check on admin metrics endpoint

1 participant