• Модуль: forum
  • Путь к файлу: ~/bitrix/modules/forum/lib/comments/taskentity.php
  • Класс: BitrixForumCommentsTaskEntity
  • Вызов: TaskEntity::canRead
public function canRead($userId)
{
	// you are not allowed to view the task, so you can not read messages
	if(!$this->checkHasAccess($userId))
	{
		return false;
	}

	return true;
}