Hi Ahmad,
You can control it via permissions. You can create new security group
permission and in menus.xml you can add condition to check if user has there
permission then you can allow or block that user for view. Example
<menu-item name="EditProduct" title="${uiLabelMap.EditProduct}">
<condition>
<not>
<if-has-permission permission="CATALOG_ADMIN_LTD"
action="_VIEW"/>
</not>
</condition>
<link target="EditProduct">
<parameter param-name="productId"/>
</link>
</menu-item>
Hope this help..
Regards, Anchit Jindal
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/sub-menu-permission-tp4702080p4702082.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.