...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_activity.php
- Класс: \CAllCrmActivity
- Вызов: CAllCrmActivity::CheckItemPostponePermission
static function CheckItemPostponePermission(array $fields, $userPermissions = null) { if(!$userPermissions) { $userPermissions = self::GetUserPermissions(); } $provider = self::GetActivityProvider($fields); if ($provider !== null) { $associatedEntityID = isset($fields['ASSOCIATED_ENTITY_ID']) ? (int)$fields['ASSOCIATED_ENTITY_ID'] : 0; $result = $provider::checkPostponePermission($associatedEntityID, $fields, $userPermissions->GetUserID()); if (is_bool($result)) { return $result; } } return self::CheckItemUpdatePermission($fields, $userPermissions); }