litellm-mirror/litellm/proxy/management_endpoints
Krish Dholakia c55422a2f8 Allow org admin to create teams on UI (#8407)
* fix(client_initialization_utils.py): handle custom llm provider set with valid value not from model name

* fix(handle_jwt.py): handle groups not existing in jwt token

if user not in group, this won't exist

* fix(handle_jwt.py): add new `enforce_team_based_model_access` flag to jwt auth

allows proxy admin to enforce user can only call model if team has access

* feat(navbar.tsx): expose new dropdown in navbar - allow org admin to create teams within org context

* fix(navbar.tsx): remove non-functional cogicon

* fix(proxy/utils.py): include user-org memberships in `/user/info` response

return orgs user is a member of and the user role within org

* feat(organization_endpoints.py): allow internal user to query `/organizations/list` and get all orgs they belong to

enables org admin to select org they belong to, to create teams

* fix(navbar.tsx): show change in ui when org switcher clicked

* feat(page.tsx): update user role based on org they're in

allows org admin to create teams in the org context

* feat(teams.tsx): working e2e flow for allowing org admin to add new teams

* style(navbar.tsx): clarify switching orgs on UI is in BETA

* fix(organization_endpoints.py): handle getting but not setting members

* test: fix test

* fix(client_initialization_utils.py): revert custom llm provider handling fix - causing unintended issues

* docs(token_auth.md): cleanup docs
2025-02-09 00:07:15 -08:00
..
budget_management_endpoints.py Support budget/rate limit tiers for keys (#7429) 2024-12-26 19:05:27 -08:00
customer_endpoints.py Support budget/rate limit tiers for keys (#7429) 2024-12-26 19:05:27 -08:00
internal_user_endpoints.py fix(internal_user_endpoints.py): fix try-except for team not in db 2025-02-04 21:57:43 -08:00
key_management_endpoints.py Internal User Endpoint - vulnerability fix + response type fix (#8228) 2025-02-04 06:41:14 -08:00
model_management_endpoints.py Allow editing model api key + provider on UI (#8406) 2025-02-08 23:50:47 -08:00
organization_endpoints.py Allow org admin to create teams on UI (#8407) 2025-02-09 00:07:15 -08:00
sso_helper_utils.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
team_callback_endpoints.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
team_endpoints.py Easier user onboarding via SSO (#8187) 2025-02-02 23:02:33 -08:00
types.py Litellm dev 01 08 2025 p1 (#7640) 2025-01-08 22:08:20 -08:00
ui_sso.py Easier user onboarding via SSO (#8187) 2025-02-02 23:02:33 -08:00