mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +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. |
||
|---|---|---|
| .. | ||
| test_admin_viewer_handler_access.py | ||
| test_auth_checks.py | ||
| test_auth_exception_handler.py | ||
| test_auth_hot_path_network_requests.py | ||
| test_auth_utils.py | ||
| test_banned_params_extra_body.py | ||
| test_cli_auth.py | ||
| test_custom_auth_end_user_budget.py | ||
| test_handle_jwt.py | ||
| test_info_routes.py | ||
| test_litellm_license.py | ||
| test_login_utils.py | ||
| test_mcp_ip_filtering.py | ||
| test_model_checks.py | ||
| test_model_checks_fallbacks.py | ||
| test_multi_budget_windows.py | ||
| test_network.py | ||
| test_oauth2_proxy_hook.py | ||
| test_object_permission_loading.py | ||
| test_onboarding.py | ||
| test_organization_budget_enforcement.py | ||
| test_password_hashing.py | ||
| test_resolvers_exceptions.py | ||
| test_resolvers_models.py | ||
| test_resolvers_seam.py | ||
| test_resolvers_store.py | ||
| test_route_checks.py | ||
| test_router_override_fallback_auth.py | ||
| test_team_member_budget.py | ||
| test_unmapped_model_budget_enforcement.py | ||
| test_user_api_key_auth.py | ||