/** * {@inheritDoc} */ public function findVotesByComment(VotableCommentInterface $comment) { $votes = $this->realManager->findVotesByComment($comment); foreach ($votes as $vote) { if (!$this->voteAcl->canView($vote)) { throw new AccessDeniedException(); } } return $votes; }