• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/productpropertybase.php
  • Класс: BitrixCatalogControllerProductPropertyBase
  • Вызов: ProductPropertyBase::checkIblockModifyPermission
protected function checkIblockModifyPermission(int $iblockId): Result
{
	$result = new Result();

	if (!CIBlockRights::UserHasRightTo($iblockId, $iblockId, self::IBLOCK_EDIT))
	{
		$result->addError(new Error('Access Denied'));
	}

	return $result;
}