Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Stockman.php
1<?php
10
12
13class Stockman extends Base
14{
15 public function getPermissions(): array
16 {
17 return array_merge(
18 [
19 PermissionDictionary::CATALOG_INVENTORY_MANAGEMENT_ACCESS ,
20 PermissionDictionary::CATALOG_STORE_VIEW,
21 PermissionDictionary::CATALOG_STORE_ANALYTIC_VIEW,
22 PermissionDictionary::CATALOG_STORE_MODIFY,
23 PermissionDictionary::CATALOG_PRODUCT_READ,
24 PermissionDictionary::CATALOG_PRODUCT_ADD,
25 PermissionDictionary::CATALOG_PRODUCT_PURCHASING_PRICE_VIEW,
26 ],
27 PermissionDictionary::getStoreDocumentPermissionRules(
28 [
29 PermissionDictionary::CATALOG_STORE_DOCUMENT_VIEW,
30 PermissionDictionary::CATALOG_STORE_DOCUMENT_MODIFY,
31 PermissionDictionary::CATALOG_STORE_DOCUMENT_CONDUCT,
32 ]
33 )
34 );
35 }
36}