litellm/ui
Cursor Agent 5d1e732c44
fix(ui): stub useIsOrgAdmin in three admin-only integration tests
The Guardrails Monitor, Memory and Workflows integration tests assert
that fetchMock is not called for non-admin roles, but useCan reaches
useOrganizations through useIsOrgAdmin and fires an /organization/list
request before hasCapability rejects the role. Extend the UsageTab
pattern from 65fbeb5531 to these three tests so the org-admin leg is
stubbed and role gating still flows through the real hasCapability.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-08-11 20:07:25 +00:00
..
litellm-dashboard fix(ui): stub useIsOrgAdmin in three admin-only integration tests 2026-08-11 20:07:25 +00:00
Dockerfile chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00