• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_company.php
  • Класс: \CAllCrmCompany
  • Вызов: CAllCrmCompany::PrepareEntityAttrs
private function PrepareEntityAttrs(&$arEntityAttr, $entityPermType)
{
	// Ensure that entity accessible for user restricted by BX_CRM_PERM_OPEN
	if($entityPermType === BX_CRM_PERM_OPEN && !in_array('O', $arEntityAttr, true))
	{
		$arEntityAttr[] = 'O';
	}
}