address greptile review feedback (greploop iteration 1)

This commit is contained in:
Yuneng Jiang 2026-04-10 22:24:14 -07:00
parent 09ffc87734
commit ef71016dfe
No known key found for this signature in database

View file

@ -56,7 +56,7 @@ async def _verify_org_access(
Raises HTTPException(403) if the caller does not have access.
"""
if user_api_key_dict.user_role == LitellmUserRoles.PROXY_ADMIN:
if _user_has_admin_view(user_api_key_dict):
return
if not user_api_key_dict.user_id: