...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_activity.php
- Класс: \CAllCrmActivity
- Вызов: CAllCrmActivity::CheckDeletePermission
static function CheckDeletePermission($ownerType, $ownerID, $userPermissions = null) { $ownerTypeName = is_numeric($ownerType) ? CCrmOwnerType::ResolveName((int)$ownerType) : mb_strtoupper(strval($ownerType)); if(!is_int($ownerID)) { $ownerID = (int)$ownerID; } $permissionEntityType = CCrmPerms::ResolvePermissionEntityType($ownerTypeName, $ownerID); return CCrmAuthorizationHelper::CheckDeletePermission($permissionEntityType, $ownerID, $userPermissions); }