litellm/tests/integration/authorization
mateo-berri e70cc0da43 fix(batches): read a restricted key's batch input through its team deployment
The batch access check downloaded the input JSONL with the proxy's OPENAI_API_KEY while the upload and the create used the team deployment, so a key restricted under a team openai/* deployment could not create a batch when the two keys belong to different OpenAI projects. The read now resolves the team deployment the way the create does when no model pins it

Adds the audit cells for keys restricted under the team wildcard on /rag, /files and /batches, and for the rag-vs-chat split of a key restricted to a global exact-name deployment
2026-10-12 16:41:03 -07:00
..
_guardrail_opt_out.py
_hidden_alias_budget.py
test_access_group_model_listing.py
test_alias_chain_budget_waiver.py
test_audit_any_sweep_auth.py
test_bedrock_passthrough_model_access.py
test_cli_sso_login_ui_disabled.py test: replace 61 live logging and otel tests with offline unit and integration coverage (#45362) 2026-10-08 15:55:57 -07:00
test_customer_model_allowlist.py
test_deprecated_key_lookup_cache.py
test_hidden_alias_budget_bypass.py
test_hidden_alias_budget_bypass_chaos.py
test_jwt_auto_register_map_existing_key.py
test_jwt_default_team_provisioning.py
test_jwt_mapped_key_email_backfill.py
test_key_alias_model_access.py
test_key_bound_to_unknown_user.py
test_key_guardrail_opt_out.py
test_key_guardrail_opt_out_chaos.py
test_key_guardrail_opt_out_runtime.py
test_model_access_allow_lists.py test: replace 61 live logging and otel tests with offline unit and integration coverage (#45362) 2026-10-08 15:55:57 -07:00
test_object_permission_lookup.py
test_passthrough_route_denylist.py feat(proxy): add denied_passthrough_routes deny list for custom pass-through endpoints (#44924) 2026-10-07 16:19:53 -07:00
test_rag_query_vector_store_allowlist.py fix(rag): treat blank credential fields as absent when picking team credentials 2026-10-09 23:09:03 -07:00
test_rag_team_provider_credentials.py fix(batches): read a restricted key's batch input through its team deployment 2026-10-12 16:41:03 -07:00
test_search_tool_deny_by_default.py
test_team_admin_gate.py feat(teams): let proxy admins grant team admins the right to raise their team budget (#45404) 2026-10-09 13:39:08 -07:00
test_team_member_permissions.py
test_team_scoped_models.py test(integration): scope the team-scoped models upstream check to its own model (#45106) 2026-10-07 11:09:56 -07:00
test_warmed_policy.py
test_websocket_rejection_logging.py test(proxy): audit the websocket rejection log on every live route (#45293) 2026-10-08 12:04:23 -07:00
test_wildcard_model_access.py