fix: add /user/bulk_update to management_routes so proxy admins can access it

/user/bulk_update was missing from the management_routes list in _types.py,
causing it to fall through to a 403 in non_proxy_admin_allowed_routes_check
even for proxy admin users. Also added it to the PROXY_ADMIN_VIEW_ONLY
blocked write operations list in route_checks.py to prevent view-only
admins from using it.
This commit is contained in:
Ryan Crabbe
2026-03-27 17:50:42 -07:00
parent 8f425ec3ff
commit a5ff668f5e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -525,6 +525,7 @@ class LiteLLMRoutes(enum.Enum):
# user
"/user/new",
"/user/update",
"/user/bulk_update",
"/user/delete",
"/user/info",
"/user/list",
+1
View File
@@ -629,6 +629,7 @@ class RouteChecks:
in [
"/user/new",
"/user/delete",
"/user/bulk_update",
"/team/new",
"/team/update",
"/team/delete",