The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Fix] RBAC: Add /invitation/info to admin_viewer_routes
Yuneng Jiangf81fbdabe674
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex 522bb47936d..2ce8d82c833 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -756,6 +756,8 @@ class LiteLLMRoutes(enum.Enum):"/config/field/info","/budget/list","/budget/settings",+ # Invitation viewing (admin viewer cannot create/delete; can read).+ "/invitation/info",# Model cost map maintenance views (read-only status / source)."/schedule/model_cost_map_reload/status","/model/cost_map/source",diff --git a/tests/test_litellm/proxy/auth/test_route_checks.py b/tests/test_litellm/proxy/auth/test_route_checks.pyindex 4c8832dee60..f85384bcb77 100644--- a/tests/test_litellm/proxy/auth/test_route_checks.py+++ b/tests/test_litellm/proxy/auth/test_route_checks.py@@ -1323,6 +1323,8 @@ ADMIN_VIEWER_SETTINGS_ROUTES = [# Budgets page"/budget/list","/budget/settings",+ # Invitation viewing (admin viewer cannot create/delete; can read)+ "/invitation/info",# Model cost map (read-only status / source)"/schedule/model_cost_map_reload/status","/model/cost_map/source",