ROLE_ANONYMOUS is the anonymous role name by default in acegi (no
authentication).

-----Message d'origine-----
De : ros [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 24 août 2007 13:08
À : [email protected]
Objet : [appfuse-user] menu-config.xml show/hide menu item with roles


Hi!

How in appfuse application to show menu item for anonymous user and admin,
but hide this menu item for user with other roles (e.g. role editor). 

If in menu-confg.xml there is:
        <Menu name="SearchEvents" title="menu.events" page="/events.html"
width="80"/>
then item visible for all users.

If in menu-config there is:
        <Menu name="SearchEvents" title="menu.events" page="/events.html"
width="80" roles="ROLE_ANONYMOUS, ROLE_ADMIN"/> then it's not visible at
all. 

What is the anonymous role name?

Thanks.


--
View this message in context:
http://www.nabble.com/menu-config.xml-show-hide-menu-item-with-roles-tf43229
74s2369.html#a12310408
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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]

Reply via email to