• Модуль: forum
  • Путь к файлу: ~/bitrix/modules/forum/lib/comments/workflowentity.php
  • Класс: BitrixForumCommentsWorkflowEntity
  • Вызов: WorkflowEntity::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;
}