• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/checklist/template/templatechecklistfacade.php
  • Класс: BitrixTasksCheckListTemplateTemplateCheckListFacade
  • Вызов: TemplateCheckListFacade::fillCommonAccessActions
static function fillCommonAccessActions($templateId, $userId)
{
	$actions = array_keys(self::ACTIONS['COMMON']);
	$canUpdate = BitrixTasksAccessTemplateAccessController::can((int) $userId, BitrixTasksAccessActionDictionary::ACTION_TEMPLATE_EDIT, (int) $templateId);

	static::$commonAccessActions[$templateId][$userId] = array_fill_keys($actions, $canUpdate);
}