Repository navigation
Should SelectProduct.php hide sub-menu items the user does not have permission to execute? #1037
Closed
dalers
started this conversation in
Development Discussion & Specification
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I created user role "PLM Viewer" and assigned it only token 2 ("Basic Reports and Inquiries with selection option"). SelectProduct.php has a large number of sub-menu items which require other security tokens to run which I would like to hide if the user does not have the necessary security token to execute the linked script.
This behavior seems consistent with the general philosophy of webERP not displaying irrelevent sub-menu items such as SelectProduct.php hiding BOM-related sub-menu items when the selected item type does not support a BOM.
Are there any scripts that already hide sub-menu items based on user role / assigned security tokens?
Cheers,
Dale
All reactions