• Модуль: forum
  • Путь к файлу: ~/bitrix/modules/forum/lib/comments/workflowentity.php
  • Класс: BitrixForumCommentsWorkflowEntity
  • Вызов: WorkflowEntity::canEdit
public function canEdit($userId)
{
	global $USER;
	if(
		$USER->isAdmin()
		|| $USER->canDoOperation('bitrix24_config')
	)
	{
		return true;
	}

	return false;
}