mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
[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) <noreply@anthropic.com>
This commit is contained in:
parent
5d688c9f27
commit
f80d7dc2f2
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue