Ë
    	]j‰  ã                   ó$   — d dl mZ  G d„ d«      Zy)é    )ÚOrganizationMemberc                   ó(   — e Zd Zed„ «       Zd„ Zd„ Zy)Ú	UserMixinc                  ó   — y©NF© )Úselfs    úC/root/env/lib/python3.12/site-packages/label_studio/users/mixins.pyÚis_annotatorzUserMixin.is_annotator   s   € àó    c                  ó   — yr   r   )r	   Úprojects     r
   Úis_project_annotatorzUserMixin.is_project_annotator	   s   € Ør   c                 óv   — t         j                  j                  ||j                  d¬«      j	                  «       S )NT)ÚuserÚorganizationÚdeleted_at__isnull)r   ÚobjectsÚfilterÚactive_organizationÚexists)r	   r   s     r
   Úhas_permissionzUserMixin.has_permission   s5   € Ü!×)Ñ)×0Ñ0Ø D×$<Ñ$<ÐQUð 1ó 
ç
‰&‹(ð	r   N)Ú__name__Ú
__module__Ú__qualname__Úpropertyr   r   r   r   r   r
   r   r      s   „ Øñó ðòór   r   N)Úorganizations.modelsr   r   r   r   r
   ú<module>r      s   ðÝ 3÷ò r   