mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-21 00:24:55 +00:00
Update litellm/proxy/management_endpoints/internal_user_endpoints.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
parent
1c04016d7b
commit
cb07c75201
@@ -1922,7 +1922,7 @@ async def ui_view_users(
|
||||
}
|
||||
|
||||
# Org admins: only users in their org(s)
|
||||
if not is_proxy_admin and org_admin_org_ids:
|
||||
if not is_proxy_admin:
|
||||
where_conditions["organization_memberships"] = {
|
||||
"some": {"organization_id": {"in": org_admin_org_ids}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user