litellm/enterprise
ryan-crabbe-berri 98c04159aa refactor(proxy): answer team admin checks with the set of roles a caller holds
roles_on(team, caller, orgs) in management/teams/authz.py replaces
TeamAccess.allows, strongest_role, TEAM_OR_ORG_ADMIN and TEAM_ADMIN_ONLY.
It returns the union of the admin roles the caller holds on the team, so a
route denies on an empty set and /team/update restricts only a caller whose
sole role is team admin. The org-admin lookup moves onto
OrganizationMembershipRepository.is_org_admin, which reads the membership row
directly, and management/users/service.py goes away.

The single-team gates that only read the roster now ask roles_on too, so an
org admin can delete and reset spend on keys in their org's teams, add,
update and delete team models, check auto-router availability and create
projects when the projects permission is on. The matrix flips exactly those
seven org_admin cells from 403 to 200.
2026-09-30 15:27:38 -07:00
..
cloudformation_stack (fix) litellm cloud formation stack 2024-03-07 18:06:59 -08:00
dist BUMP Enterprise PIP 2026-02-14 13:40:48 -08:00
enterprise_hooks fix(enterprise): resolve openai_moderations model at call time and default to omni-moderation-latest 2026-09-18 23:06:47 +00:00
enterprise_ui Update README.md 2024-02-21 22:11:39 -08:00
litellm_enterprise refactor(proxy): answer team admin checks with the set of roles a caller holds 2026-09-30 15:27:38 -07:00
__init__.py (fix) error cli users see when importing enterprise folder 2024-03-15 08:10:45 -07:00
LICENSE.md docs: document new github + gitlab ci scripts 2026-03-25 20:17:10 -07:00
pyproject.toml bump: litellm-enterprise 0.1.71 -> 0.1.72, litellm-proxy-extras 0.4.102 -> 0.4.103, litellm 1.104.0 -> 1.105.0 (#43789) 2026-09-30 01:35:34 +00:00
README.md Fix enterprise doc link (#31815) 2026-07-09 11:48:11 -07:00

LiteLLM Enterprise

Code in this folder is licensed under a commercial license. Please review the LICENSE file within the /enterprise folder

These features are covered under the LiteLLM Enterprise contract

👉 Using in an Enterprise / Need specific features ? Meet with us here

See all Enterprise Features here 👉 Docs