{"product_id":"stock-access-rules","title":"Stock Access Rules","description":"\u003cul\u003e\n\u003cli\u003e\u003cheader class=\"hero\"\u003e\u003cheader class=\"hero\"\u003e\n\u003ch2\u003eStock Access Rules for Dolibarr\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eStock Access Rules\u003c\/strong\u003e restricts each user to the warehouses he works in. For every user and every warehouse you choose \u003cstrong\u003eView only\u003c\/strong\u003e or \u003cstrong\u003eView and operate\u003c\/strong\u003e. Forbidden warehouses disappear from lists and selectors, and stock operations in them are refused, from the screens as well as from the API. Inspired by the Odoo app \"Stocks Access Rules\", with many more options.\u003c\/p\u003e\n\u003ch3\u003ePer-user warehouse restrictions\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eFor each user and each warehouse: \u003cstrong\u003eno access\u003c\/strong\u003e, \u003cstrong\u003eview only\u003c\/strong\u003e or \u003cstrong\u003eview and operate\u003c\/strong\u003e.\u003c\/li\u003e\n\u003cli\u003eA warehouse with \u003cstrong\u003eno assigned user stays open\u003c\/strong\u003e to everybody (can be switched to closed in the setup).\u003c\/li\u003e\n\u003cli\u003eAs soon as users are assigned to a warehouse, it is restricted to them.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eInheritance\u003c\/strong\u003e: access given on a parent warehouse is also granted on its sub-warehouses (optional).\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eExempt users\u003c\/strong\u003e: administrators and users with the \u003cstrong\u003eSuper Warehouse Manager\u003c\/strong\u003e permission see and operate every warehouse.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eWhat is filtered\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eThe \u003cstrong\u003ewarehouse list\u003c\/strong\u003e and the \u003cstrong\u003ewarehouse card\u003c\/strong\u003e (forbidden warehouses are hidden and the card is refused).\u003c\/li\u003e\n\u003cli\u003eThe \u003cstrong\u003estock movements list\u003c\/strong\u003e: movements of forbidden warehouses are hidden.\u003c\/li\u003e\n\u003cli\u003eThe \u003cstrong\u003ewarehouse selectors\u003c\/strong\u003e of the forms: users only see the warehouses they can operate.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eWhat is blocked\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eStock movements\u003c\/strong\u003e in warehouses the user cannot operate.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eValidation of shipments and receptions\u003c\/strong\u003e that use a forbidden warehouse.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eWarehouse changes\u003c\/strong\u003e (modification and deletion).\u003c\/li\u003e\n\u003cli\u003eThe controls apply to the \u003cstrong\u003escreens and to the API\u003c\/strong\u003e.\u003c\/li\u003e\n\u003cli\u003eClear messages tell the user why the operation is refused.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eBlocked attempts log\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eEvery refused operation is recorded: stock movement, shipment, reception, warehouse card, change or deletion.\u003c\/li\u003e\n\u003cli\u003eSearchable list reserved to users with the permission to read the log.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRetention\u003c\/strong\u003e in days with a daily automatic purge, and a button to purge the log manually.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eTools to manage the rules\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eAccess matrix\u003c\/strong\u003e: users in rows, warehouses in columns, set the level of each cell.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRules by warehouse\u003c\/strong\u003e: overview of the protection of each warehouse and of its authorised users.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSimulator\u003c\/strong\u003e (\"Check an access\"): choose a user and a warehouse to see what the user can do.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDashboard\u003c\/strong\u003e: warehouses, restricted and open warehouses, users with rules, number of rules, blocked attempts over 30 days, blocked attempts by operation and latest blocked attempts, plus a \u003cstrong\u003ehome widget\u003c\/strong\u003e.\u003c\/li\u003e\n\u003cli\u003eA \u003cstrong\u003e\"Warehouse access\" tab on the user card\u003c\/strong\u003e and an \u003cstrong\u003e\"Access rules\" tab on the warehouse card\u003c\/strong\u003e, showing direct and effective (inherited) access.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eSetup and permissions\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e10 setup options\u003c\/strong\u003e: open warehouses without user, inheritance, administrators exempt, filter lists and protect the card, filter selectors, block movements, block shipments and receptions, log blocked attempts, default level of a new rule, log retention.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e5 permissions\u003c\/strong\u003e: read rules, create and modify rules, delete rules, Super Warehouse Manager, read the blocked attempts log.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eQuality\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eDolibarr 15 up to the latest version, PHP 7 to 8, GPL v3 or later.\u003c\/li\u003e\n\u003cli\u003ePermissions, scheduled job, hooks and triggers following Dolibarr standards.\u003c\/li\u003e\n\u003cli\u003eDemo data set (a tree of warehouses, demo users with their rules, products with stock and blocked attempts), loaded automatically at activation on demonstration platforms, and removable in one click.\u003c\/li\u003e\n\u003cli\u003eTranslations for all Dolibarr languages.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/header\u003e\u003c\/header\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eDiscover the full online demo \u003ca href=\"https:\/\/demo.dolimarketplace.com\/custom\/stockaccessrules\/stockaccessrules_index.php?entity=185\u0026amp;amp;mainmenu=stockaccessrules\" target=\"_blank\" title=\"https:\/\/demo.dolimarketplace.com\/custom\/stockaccessrules\/stockaccessrules_index.php?mainmenu=stockaccessrules\" rel=\"noopener\"\u003ehttps:\/\/demo.dolimarketplace.com\/custom\/stockaccessrules\/stockaccessrules_index.php?entity=185\u0026amp;mainmenu=stockaccessrules\u003c\/a\u003e\n\u003c\/h2\u003e\n\u003ch2\u003e\u003cstrong\u003eLogin: demo \/ demo\u003c\/strong\u003e\u003c\/h2\u003e","brand":"Doli MarketPlace","offers":[{"title":"Default Title","offer_id":63346965709187,"sku":null,"price":99.0,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0594\/5193\/2860\/files\/LogodumoduleStickyList_24Nov2026_10.53am.png?v=1795517729","url":"https:\/\/dolimarketplace.com\/products\/stock-access-rules","provider":"Dolibarr MarketPlace","version":"1.0","type":"link"}