mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
Internal (non-admin) users could see Approve/Reject buttons and the forward-key / header edit controls on the Submitted Guardrails tab even though the backend approve, reject and update endpoints are PROXY_ADMIN only and reject those calls. The controls now render only for a true proxy admin, gated on isProxyAdminRole so Admin Viewer (which the backend also rejects) no longer sees them either. Non-admin team members keep full read visibility: submission status, team, configured headers and the forward-key state (shown as a read-only label instead of a toggle), so they can still see the status of a guardrail they submitted and the guardrails attached to their team. userRole is threaded from GuardrailsPanel into TeamGuardrailsTab to drive the gating |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||