mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
Full-diff audit against the admin-only design surfaced leftovers in three layers. Backend: drop dead code the refactor stranded (is_admin_gated_credential_info, is_destination_visible, the CredentialInfo decider-era fields, the unused LLMCallEvent.dynamic_params carrier, the _is_user_org_admin_for_org_id extraction) and correct every comment/docstring still describing the removed team-admin self-service or scoped-read designs. UI: gate the Logging Exporters form rows behind a shared proxy-admin-only LoggingExportersFormItem so non-admin forms no longer render an orphaned label; skip the GET /credentials fetch for roles it would 403 (team/org/key views); make the callbacks table read-only for the admin viewer (no Add/Edit/Delete actions that would 401); reword access tooltips to routing-scope semantics; regenerate schema.d.ts from the corrected endpoint docstrings. Tests: flip the credential-migration non-admin expectation to the route-gate 401, port the visibility tests to access_grants, drop tests of the removed helpers, and update copy assertions and stale rationale to the admin-only contract. |
||
|---|---|---|
| .. | ||
| management | ||
| __init__.py | ||