You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by ARays <ar...@kenfuse.com> on 2009/10/06 15:24:50 UTC

Re: Menu persmissions

Hi, 

I am looking for a similar functionality to control visibility of menu items
based on role. For example would like to *not* show menu items such as
"viewvendor" for party with Employee role in PartyMenu.xml. Can someone
point me to example code on how this can be done? 

- Arays



Adrian Crum wrote:
> 
> There is some code to control menus based upon permissions in the
> component's 
> app header ftl file.
> 
> On our custom components, ALL menu items are controlled by permissions.
> 
> 
> Chris Juettner wrote:
>> Is it possible to enable/disable menu items based on security groups
>> and/or user roles?  I see some reference to permissions in the menu
>> widget XSD, but I can't find any use of them to see if this is what I
>> need.
>>    
>>   Thanks
>>    
>>   Chris Juettner
>>   Integral Business Solutions
>>    
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Menu-persmissions-tp6083780p25768675.html
Sent from the OFBiz - User mailing list archive at Nabble.com.