• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/access/rule/tasksaverule.php
  • Класс: BitrixTasksAccessRuleTaskSaveRule
  • Вызов: TaskSaveRule::canUpdateTask
private function canUpdateTask()
{
	// can create new task
	if (
		$this->isNew()
	)
	{
		return $this->controller->check(ActionDictionary::ACTION_TASK_CREATE, $this->newTask);
	}

	return $this->controller->check(ActionDictionary::ACTION_TASK_EDIT, $this->oldTask);
}