Re: Struts-menu + roles

Matt Raible <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
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
> struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.