tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K.C. Baltz" <kc.ba...@lollimail.com>
Subject Re: [PROPOSAL] <req:isUserInRole> upgrade
Date Thu, 28 Aug 2003 20:47:25 GMT
If it's useful to you, I'd say go for it.  As long as it doesn't 
destabilize the current code, I suspect the commiters will add it. 

K.C.

Sgarlata Matt wrote:

> Hi,
>
> I'm not sure if I'm submitting this idea correctly and/or to the 
> correct list, but I have an idea on how to improve on the 
> <req:isUserInRole> tag.  To make a long story short, I think the user 
> should be able to specify a comma-separated list of roles instead of a 
> single role like this:
>
> <req:isUserInRole role="role1,admin">
>   The remote user is in role "role1" or in role "admin".
> </req:isUserInRole>
> <req:isUserInRole role="role1,admin" value="false">
>   The remote user is neither in role "role1" nor in role "admin".
> </req:isUserInRole>
>
> There currently really is no clean way to do a check like this.
>
> What does everyone think?  I would be more than happy to provide write 
> this functionality and submit it to bugzilla if it will actually get 
> incorporated.
>
> Matt
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>


Mime
View raw message