@classmethod
    def user_has_role(cls, user, obj):
        return user.has_perms(cls.class_to_permissions[type(obj)], obj)
Get the 'loopback' protocol, which is a special protocol that is
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/libs/permissions.py/Role.user_has_role--crossover with--dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/network.py/Endpoint.getLoopback