OK... I'll give that a try and report back... Thanks..
Matt Raible wrote:
This was a bug we fixed in Struts Menu a while back. What version are you using? Can you try the attached JAR (I'm hoping to release today) and see if it fixes the problem? Thanks, Matt On 6/1/07, Bryan Noll <[EMAIL PROTECTED]> wrote:So my problem is this: I've got a menu config that looks like this: <?xml version="1.0" encoding="UTF-8"?> <MenuConfig> <Displayers><Displayer name="Velocity" type="net.sf.navigator.displayer.VelocityMenuDisplayer"/></Displayers> <Menus><Menu name="MainMenu" title="mainMenu.title" page="/mainMenu.html" roles="admin,user,default"/> <Menu name="AdminMenu" title="menu.admin" page="/users.html" roles="admin,view_users,view_groups,view_policies" width="120"> <Item name="ViewUsers" title="menu.admin.users" page="/users.html" roles="view_users"/> <Item name="ViewGroups" title="menu.admin.groups" page="/groups.html" roles="view_groups"/> <Item name="ViewPolicies" title="menu.admin.policies" page="/policies.html" roles="view_policies"/> <Item name="UpdateManager" title="menu.admin.updates" page="/updateManager.iface" roles="run_update_manager"/></Menu> </Menus> </MenuConfig> which is invoked in a jsp file like so: <menu:useMenuDisplayer name="Velocity" config="WEB-INF/classes/cssHorizontalMenu.vm" permissions="rolesAdapter"> <ul id="primary-nav" class="menuList clearfix"> <li class="pad"> </li> <menu:displayMenu name="MainMenu"/> <menu:displayMenu name="AdminMenu"/> </ul> </menu:useMenuDisplayer> The problem I'm experiencing is this. I log in as an admin (which has all of the roles listed in the menu config) and I get all of the menu items, as expected. Then I log in as a Policy Manager, which only has the "view_policies" and "default" roles. As expected, I get the main menu, but only the policies item under the Admin menu. Here's where it gets weird: I log out, and log back in as admin, but I still only get the policy item on the menu, as though I was logged in as a policy manager. To make matters worse, once this has taken place, ANYONE who logs in from ANY MACHINE gets only the policy menu. The only way to fix this is to restart the server. Any ideas? Thanks in advance... Bryan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
