ó
    Ù^íhY  ã                   ó4   • S SK Jr  S\S\4S jrS\S\4S jrg)é    )ÚLitellmUserRolesÚui_access_modeÚreturnc                 ó   • U S:H  $ )z#Checks ui access mode is admin_onlyÚ
admin_only© )r   s    Úm/home/james-whalen/.local/lib/python3.13/site-packages/litellm/proxy/management_endpoints/sso_helper_utils.pyÚcheck_is_admin_only_accessr
      s   € à˜\Ñ)Ð)ó    Ú	user_rolec                 ó~   • U [         R                  R                  :w  a  U [         R                  R                  :w  a  gg)zŽ
Check if the user has admin access to the UI.

Returns:
    bool: True if user is 'proxy_admin' or 'proxy_admin_view_only', False otherwise.
FT)r   ÚPROXY_ADMINÚvalueÚPROXY_ADMIN_VIEW_ONLY)r   s    r	   Úhas_admin_ui_accessr   	   s4   € ð 	Ô%×1Ñ1×7Ñ7Ó7ØÔ)×?Ñ?×EÑEÓEàØr   N)Úlitellm.proxy._typesr   ÚstrÚboolr
   r   r   r   r	   Ú<module>r      s.   ðÝ 1ð*¨sð *°tô *ð
 3ð ¨4õ r   