From f80d7dc2f20703cbd9d2df77741d2e521560c2a1 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Fri, 20 Mar 2026 21:57:35 -0700 Subject: [PATCH] [Fix] Add /team/available_permissions to self_managed_routes Without this, internal users get 401 when calling the endpoint. Co-Authored-By: Claude Opus 4.6 (1M context) --- litellm/proxy/_types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index bbf842196b8..62547b309d0 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -655,6 +655,7 @@ class LiteLLMRoutes(enum.Enum): "/model/delete", "/user/daily/activity", "/user/available_roles", # read-only role metadata; any authenticated user may read + "/team/available_permissions", # read-only permission metadata; any authenticated user may read "/user/list", # org admins checked in endpoint; non-admins get 403 "/model/{model_id}/update", "/prompt/list",