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:
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}}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user