Actually, looking at the demo, it appears to be working fine: http://raibledesigns.com/struts-menu/permissionsForm.jsp
Matt -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Raible Sent: Thursday, September 25, 2003 9:24 PM To: Venu Gogineni Cc: [EMAIL PROTECTED] Subject: [struts-menu] Re: Struts-Menu--- RolesPermissionsAdapter I did a brief look through the code, and it's not readily apparent how to make this happen - I'm swamped at the moment, so I won't be able to look at this for quite some time. You might want to submit a bug for this. Matt On Thursday, September 25, 2003, at 09:00 PM, Venu Gogineni wrote: > Thanks for the immediate response. I tried that but it > seems to be checking only at the menu level not at the > item level. Any idea how we can make sure it will > check for every item. I guess isAllowed method is > getting called for each menu rather than each item in > the menu. > > > --- Matt Raible <[EMAIL PROTECTED]> wrote: >> I believe it checks it at the item level. Are you experiencing >> different behavior? >> >> Matt >> >> P.S. Please address these e-mails to [EMAIL PROTECTED] >> in the future - you'll get better support. >> >> On Thursday, September 25, 2003, at 08:05 PM, Venu >> Gogineni wrote: >> >>> Hi Matt, >>> >>> I am trying to implement menu as well as item >> level >>> security. I am using CoolMenuDisplayer and i was >>> looking into RolesPermissionsAdapter and wondering >> how >>> can i use this for my purpose to check item level >>> security. Infact i looked into the sample jsp and >> i >>> guess we are just passing string value(comma >> seperated >>> for multiple) for the attribute "roles" and >> reading >>> that in the adapter but it seems we are checking >> this >>> at menu component level not at the item level >>> right(correct me if i am wrong). Can you tell me >> the >>> bestway to implement the item level security. I >> really >>> appreciate your help. >>> >>> Thanks, >>> VG. >>> >>> __________________________________ >>> Do you Yahoo!? >>> The New Yahoo! Shopping - with improved product >> search >>> http://shopping.yahoo.com >> > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/struts-menu-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/struts-menu-user
