

def has_permission(self, request, resource, level):
    user = request.cache.user
    if user.is_superuser():
        return True
    else:
        permissions = self.get_permission_objects(request)
        return has_permission(request, level, resource, level)

dataset/ETHPy150Open quantmind/lux/lux/extensions/auth/backends.py AuthMixin.has_permission/VarMisuse@55/63 `permissions`->`level`