I'm not sure if this is a 1.0 feature, but I'd love to see "EL-like" support.

For example: (not trying to indicate syntax, just the idea)
@Secured( "hasRole('manager') or hasPermission('sendNewsletter')")
public void sendNewsletter();

Another example:
@Secured( "hasPermission('sendNewsletter:$newsletterId')")
public void sendNewsletter( String newsletterId )

Ideally this syntax would also be supported in the URL rules as well.




On Dec 15, 2008, at 4:43 PM, Les Hazlewood wrote:

Hi Peter,

Because Grails JSecurity plugin users represent a sizeable chunk of the JSecurity end-user community, is there anything that isn't yet on the radar for 1.0 that you think should be in JSecurity core as opposed to just in the
plugin?

I just want to make sure that we can make your life as easy as possible, because odds are very high that if Grails end-users want something, other
non-Grails JSecurity users would want similar things.

Do you see things in your plugin that you feel would be beneficial to any
JSecurity user?  Or any JSecurity-enabled web environment?

Cheers,

Les

Reply via email to