protected function isRestoreViewGranted(FieldVote $fieldVote, array $values)
    {
        $event = new RestoreViewGrantedEvent($fieldVote, $values['old'], $values['new']);
        $this->dispatcher->dispatch(ObjectFilterEvents::RESTORE_VIEW_GRANTED, $event);

        if ($event->isSkipAuthorizationChecker()) {
            return !$event->isGranted();
        }

        return !$this->ac->isGranted('perm_read', $fieldVote)
            || !$this->ac->isGranted('perm_edit', $fieldVote);
    }