I think I was a bit vague on why I propose this improvement. The scenario is the following:
<t:security.hasAnyRoles role="admin, superadmin"> Admin or Superadmin <p:else> Not Admin or Superadmin </p:else> </t:security.hasAnyRoles> To get this output, currently you either have to inject the SecurityService and call it's method hasAnyRoles(String) which is what the component basically does, or use some of the other components like lacksRole but it becomes very messy if there are more roles or permissions that need to be checked. I hope I'm clearer this time, looking for some feedback from the community On Mon, Feb 20, 2012 at 11:57 AM, Dusko Jovanovski <dusk...@gmail.com>wrote: > Hello Tynamo developers > > First of all, I love the module, keep up the good work. > > I would like to propose one improvement for all the security components > (org.tynamo.security.components package), an "else" block parameter (very > similar to the tapestry "if" component). That would come in pretty handy. > I'm willing to provide a patch for this too. > > Cheers >