It sounds like this is more of a application caching the roles issue than an issue with Struts Menu. I tried running your tests on AppFuse (http://demo.raibledesigns.com/appfuse) and it worked fine.

Matt

On Oct 28, 2004, at 7:45 AM, Ben wrote:

Hi

My system has two roles: user and admin.

The user role has restricted menu and the admin role has full menu.

When I start up Tomcat and login as admin, I can see the full menu. I
logout and login as user, I can see the restricted menu. I logout and
login as admin again and this time I can only see the restricted menu.
It seems the repository is not reloaded. I am using Struts-menu as the
plug-in for my Struts-based app.

When and how does the repository get refresh?

I curiously use MenuRepository.reload() in my code and it works as I
would expected.

Please help and thanks.


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/struts-menu-user



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to