CCrmAuthorizationHelper::CheckConfigurationUpdatePermission

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmAuthorizationHelper
  4. CheckConfigurationUpdatePermission
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_authorization_helper.php
  • Класс: \CCrmAuthorizationHelper
  • Вызов: CCrmAuthorizationHelper::CheckConfigurationUpdatePermission
static function CheckConfigurationUpdatePermission($userPermissions = null)
{
	if(!$userPermissions)
	{
		$userPermissions = self::GetUserPermissions();
	}

	return $userPermissions->HavePerm('CONFIG', BX_CRM_PERM_CONFIG, 'WRITE');
}

Добавить комментарий