Repository navigation
fix: enforce LiteAdmin MCP route permissions - #48080
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Merging this PR will not alter performance1 warning
Performance Changes
Comparing Footnotes |
|
bugbot run |
|
Skipping Bugbot: Unable to authenticate your request. Please make sure Bugbot is properly installed and configured for this repository. |
…mcp_permissions (HW-217) Upstream 31fb096 requires /user/info?admin_mcp=true to return admin_mcp_permissions, which no LiteLLM release ships yet (BerriAI/litellm#48080 open). Opt-in keeps the proxy_admin check and shows every tool; gateways that return the field are still enforced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WL1AnKCfSVBCpVhFti8G46
|
Please review the latest commit after merging main and resolving the lockfile conflict while preserving the LiteAdmin MCP dependency pin |
|
bugbot run Please review the latest commit after merging main and resolving the lockfile conflict while preserving the LiteAdmin MCP dependency pin |
[Medium impact] The latest test-only changes appear safe to merge SummaryThe PR makes Admin MCP permissions follow the caller's HTTP route grants. The latest commit simplifies test setup without changing production behavior
Reviews (5) · Last reviewed commit: "test(admin-mcp): simplify HTTP permissio..." · Reviewed by Greptile |
|
Please review commit 45fb345, including permission matching, older Python guards, and live proof. Local checks pass; CI is running |
|
bugbot run Please review commit 45fb345 after the authorization fixes. Local checks pass, and the PR contains real before-and-after evidence |
|
Please review 73eae69, including the Databricks call-path evidence. Live MCP proof is refreshed; local checks pass and CI is running |
|
bugbot run Please review 73eae69 after merging main. Authorization code is unchanged from your clean review; live proof and local checks pass |
|
bugbot run Please review 35212f2 and the HTTP regression covering nested encoding. Removing decoding, double decoding, and plus conversion each fail |
|
Please review 35212f2. Added real HTTP regressions and clarified path encoding. All 89 admin MCP tests and make check pass |
|
bugbot run Please review f5080d7, including the focused HTTP encoding regression. Missing decoding, double decoding, and plus conversion all fail the tests |
|
Please review f5080d7. Simplified regression scaffolding while retaining all eight encoding cases. All 89 admin tests and local quality gates pass |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit f5080d7. Configure here.
This aligns management checks with the gateway’s existing access rules and improves compatibility across supported environments. Focused regression coverage keeps request handling and access isolation consistent.
Details
Changes
Verification
make checkpassesf5080d7bcdba619f3adec0c65d34b90f2e156be2Live verification
Before/after checks used real local services and isolated test data. The recording at
73eae699ee0a3cb399fdaf7e404ed5953847a77aremains applicable to the current tip because the follow-up changes documentation and tests onlymcp-feature.mp4
Limitations
Pre-submission checklist