I’m customizing the Inventory & Stock menu permissions. Our need is to allow purchase users group to see the pending moves menú ( Inventrory & Stock → Moves menú)
In order to do so, I added the Purchase group to the Inventory & Stock menú
After that I get acess also to the Customer Shipments and Inventories menú but after entering to them I get an access error because the purchase user is not allowed to see such menus.
I will expect that an user is not allowed to see a menu option linked to an action that he is not allowed to see. I’m wondering if this is something that can be implemented in a generic way or we need to define access records for each menu item linked to the user that is not allowed to see. This will mean adding a group for shipments, inventories, lots and other menu options. Is this something that should be added as part of default accesses? Or we should do it as customization (as we are opening the parent menu).
In one way or another I think that it makes most sense that users in purchase group can access incoming moves, specially to track planned_dates and replan accordingly.
I see your problem was related to relate actions and it has been fixed for 6.6 series.
It will be great to implement something generic to filter menus that the user is not allowed to access it’s action. But I’m not sure if this is easly doable.
I think we should go with a generic solution as the issue is not only present for Inventory & Stock menu, but also for Purchase amendments (and probably much more menu entries).