21 PermissionDictionary::CATALOG_INVENTORY_MANAGEMENT_ACCESS,
22 PermissionDictionary::CATALOG_STORE_VIEW,
23 PermissionDictionary::CATALOG_STORE_ANALYTIC_VIEW,
24 PermissionDictionary::CATALOG_RESERVE_DEAL,
25 PermissionDictionary::CATALOG_STORE_RESERVE,
26 PermissionDictionary::CATALOG_PRODUCT_VIEW,
27 PermissionDictionary::CATALOG_PRODUCT_READ,
28 PermissionDictionary::CATALOG_PRODUCT_ADD,
29 PermissionDictionary::CATALOG_PRODUCT_EDIT_ENTITY_PRICE,
30 PermissionDictionary::CATALOG_PRODUCT_SET_DISCOUNT,
31 PermissionDictionary::CATALOG_PRODUCT_PUBLIC_VISIBILITY,
33 PermissionDictionary::getStoreDocumentPermissionRules(
35 PermissionDictionary::CATALOG_STORE_DOCUMENT_VIEW,
36 PermissionDictionary::CATALOG_STORE_DOCUMENT_MODIFY,
39 PermissionDictionary::getStoreDocumentPermissionRules(
41 PermissionDictionary::CATALOG_STORE_DOCUMENT_CONDUCT,
53 $permissionId === PermissionDictionary::CATALOG_PRODUCT_EDIT_ENTITY_PRICE
54 || $permissionId === PermissionDictionary::CATALOG_PRODUCT_SET_DISCOUNT
57 return [\CCrmOwnerType::Deal, \CCrmOwnerType::Lead];
60 return [PermissionDictionary::getDefaultPermissionValue($permissionId)];