• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/Access/Install/Role/Stockman.php
  • Класс: BitrixCatalogAccessInstallRoleStockman
  • Вызов: Stockman::getPermissions
public function getPermissions(): array
{
	return array_merge(
		[
			PermissionDictionary::CATALOG_INVENTORY_MANAGEMENT_ACCESS ,
			PermissionDictionary::CATALOG_STORE_VIEW,
			PermissionDictionary::CATALOG_STORE_ANALYTIC_VIEW,
			PermissionDictionary::CATALOG_STORE_MODIFY,
			PermissionDictionary::CATALOG_PRODUCT_READ,
			PermissionDictionary::CATALOG_PRODUCT_ADD,
			PermissionDictionary::CATALOG_PRODUCT_PURCHASING_PRICE_VIEW,
		],
		PermissionDictionary::getStoreDocumentPermissionRules(
			[
				PermissionDictionary::CATALOG_STORE_DOCUMENT_VIEW,
				PermissionDictionary::CATALOG_STORE_DOCUMENT_MODIFY,
				PermissionDictionary::CATALOG_STORE_DOCUMENT_CONDUCT,
			]
		)
	);
}