function validateRights(array $users = NULL, $idComment = 0, $throw = TRUE)
 {
     if ($users === NULL) {
         $users = [];
     }
     if ($idComment) {
         if (!($res = $this->db->fetch("SELECT users.id AS user_id FROM comments INNER JOIN users ON (users.id=comments.user_id) WHERE comments.id={$idComment}"))) {
             if ($throw) {
                 throw new ControllerException('Произошла ошибка проверки прав доступа.');
             } else {
                 return FALSE;
             }
         }
         $users[] = $res[0]['user_id'];
     }
     return parent::validateRights($users, $throw);
 }