litellm/ui
Cursor Agent 9b262c06eb
fix(ui): stub useIsOrgAdmin in role-gated admin page integration tests
The three admin-only page integration tests (guardrails-monitor, memory,
workflows) assert that fetchMock is never called for non-admin roles.
useIsOrgAdmin fires a GET /organization/list request under the hood, so
that expectation fails once the hook mounts. Stub the hook to false to
keep the network boundary silent for non-admin roles.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-08-12 00:05:50 +00:00
..
litellm-dashboard fix(ui): stub useIsOrgAdmin in role-gated admin page integration tests 2026-08-12 00:05:50 +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