src/ckanext-Metadata/ckanext/Metadata/plugin.py
def has_user_group_or_org_admin_role(cls, group_id, user_name):
        """
        Checks if the given user has admin role for the specified group/org
        """
        return auth.has_user_permission_for_group_or_org(group_id, user_name, 'admin')

        Checks if the given user has admin role for the specified group/org
        
Checks if the given user has admin role for the specified group/org
Checks if the given user has admin role for the specified group / org
def has_user_group_or_org_admin_role(cls, group_id, user_name):
        return auth.has_user_permission_for_group_or_org(group_id, user_name, 'admin')
def has_user_group_or_org_admin_role ( cls , group_id , user_name ) : return auth . has_user_permission_for_group_or_org ( group_id , user_name , 'admin' )
Checks if the given user has admin role for the specified group/org
Checks if the given user has admin role for the specified group / org
"""
        Checks if the given user has admin role for the specified group/org
        """
cls
group_id
user_name