Re: Role based menu ?

Matt Raible <[email protected]> Fri, 8 Feb 2008 07:23:28 -0700
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
--===============0492511576==
Content-Type: multipart/alternative; boundary=Apple-Mail-1-835109697


--Apple-Mail-1-835109697
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

You should be able to do roles="role1,role2".

Matt

On Feb 6, 2008, at 12:04 PM, Hadi S wrote:

> Hi, This is an awesome plugin. Can a role based menu be made  
> accessible to more than one role. For example if there are three  
> roles(admin,deputy,user). A specific menu needs to be accessible by  
> two of the three roles (admin,deputy). How can this be done in the  
> menu-config.xml so user does not see it but admin and deputy can.
>
>
> Thanks,
>
> Hash
>
>
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
> Try it now.
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ 
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user


--Apple-Mail-1-835109697
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">
 You should be able to do roles=3D"role1,role2".<div><br =
class=3D"webkit-block-placeholder"></div><div>Matt</div><div><br><div><div=
>On Feb 6, 2008, at 12:04 PM, Hadi S wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"font-family:times new roman, new york, times, =
serif;font-size:12pt"><div><font face=3D"Helv" size=3D"2"><p>Hi, This is =
an awesome plugin. Can a role based menu be made accessible to more than =
one role. For example if there are three roles(admin,deputy,user). A =
specific menu needs to be accessible=A0by two of the three=A0roles =
(admin,deputy). How can this be done in the menu-config.xml so user does =
not see it but admin and deputy can.</p><div>=A0<br =
class=3D"khtml-block-placeholder"></div><p>Thanks,</p> </font><p><font =
face=3D"Tms Rmn">Hash</font></p><font face=3D"Tms =
Rmn"></font></div></div><br>      <hr size=3D"1">Be a better friend, =
newshound, and know-it-all with Yahoo! Mobile. <a =
href=3D"http://us.rd.yahoo.com/evt=3D51733/*http://mobile.yahoo.com/;_ylt=3D=
Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
">------------------------------------------------------------------------=
-</div><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: =
0px; margin-left: 0px; ">This SF.net email is sponsored by: =
Microsoft</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Defy all challenges. =
Microsoft(R) Visual Studio 2008.</div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a =
href=3D"http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/___________=
____________________________________">http://clk.atdmt.com/MRT/go/vse01200=
00070mrt/direct/01/_______________________________________________</a></di=
v><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">struts-menu-user mailing list</div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><a =
href=3D"mailto:struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">struts-menu-user@li=
sts.sourceforge.net</a></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a =
href=3D"https://lists.sourceforge.net/lists/listinfo/struts-menu-user">htt=
ps://lists.sourceforge.net/lists/listinfo/struts-menu-user</a></div> =
</blockquote></div><br></div></body></html>=

--Apple-Mail-1-835109697--


--===============0492511576==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============0492511576==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
struts-menu-user mailing list
struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

--===============0492511576==--