private function canEdit(Comment $comment, User $user, $token)
 {
     if ($this->decisionManager->decide($token, array('ROLE_ADMIN'))) {
         return true;
     }
     if ($this->decisionManager->decide($token, array('ROLE_MODERATOR'))) {
         return $comment->isAuthor($user);
     }
     return false;
 }