def METHOD_NAME(self, queryset=None):
    obj = super().METHOD_NAME(queryset=None)
    if obj.published or self.request.user.has_perm("interactive.change_quiz"):
        return obj
    else:
        raise Http404("Ikke publisert")