I am just now trying to lock down my app and noticed that when I log in as a
non-admin user I can't see the menu. I thought it was because of the new
roles I created and assigned in security.xml so I rolled back to the
original security.xml, menu.jsp and menu-config.xml and sure enough, even
with the old config I can't see the menu when I login as with ROLE_USER, so
the problem already existed. I can only see it as an admin.
security.xml is unchanged except for these lines in the
filterInvocationInterceptor:
...
/**/loadpdainspector.html=ROLE_INSPECTOR
/**/reviseinspeccion.html=ROLE_INSPECTOR
/**/unloadpda.html=ROLE_INSPECTOR
/**/mainMenu.html*=ROLE_ADMIN, ROLE_BOSS_INSPECTION, ROLE_INSPECTOR
/**/*.html*=ROLE_ADMIN, ROLE_BOSS_INSPECTION
...
menu.jsp is unchanged.
menu-config.xml looks like this:
<MenuConfig>
<Displayers>
<Displayer name="Velocity"
type="net.sf.navigator.displayer.VelocityMenuDisplayer" />
</Displayers>
<Menus>
<Menu name="MenuApps" title="menu.apps" description="Admin. apps"
roles="ROLE_ADMIN, ROLE_BOSS_INSPECTION,
ROLE_INSPECTOR" >
</Menu>
</Menus>
</MenuConfig>
There are other menus and sub-menus but they all have the same permissions.
As I said, I don't think the problem is with these changes since when I use
the original config files and try to login with ROLE_USER I can't see the
menu and according to the original config, I should be able to see it.
Has anyone had this problem? It happens in IE and Firefox ...
Thanks,
Bob
--
View this message in context:
http://www.nabble.com/Can%27t-see-menu--tp16549972s2369p16549972.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]