litellm/ui
Cursor Agent 64e0f4d5da
test(ui): scope workflows role-gate assertion to workflow endpoints
Follow-up to PR #35176 which fixed the same issue in memory and
guardrails-monitor. useCan now goes through useIsOrgAdmin which fetches
/organization/list, so the over-broad expect(fetchMock).not.toHaveBeenCalled()
in the workflows role-gate test fails on every non-admin case. The scoped
assertion on /v1/workflows still enforces the gate this test exists to prove.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-08-13 13:21:19 +00:00
..
litellm-dashboard test(ui): scope workflows role-gate assertion to workflow endpoints 2026-08-13 13:21:19 +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