def has_permission(self, request, view):
        return (request.user.is_superuser or
                request.method in permissions.SAFE_METHODS)
dataset/ETHPy150Open bmun/huxley/huxley/api/permissions.py/IsSuperuserOrReadOnly.has_permission/original