Hi folks,

we use the following well known annotation in our Grails controllers:

@Secured(['ROLE_USER', 'ROLE_OTHER'])

I was wondering why we cannot write this instead:

@Secured('ROLE_USER', 'ROLE_OTHER')

like in method calls.

To your knowledge is that a Groovy thing or it lies somewhere else?

Cheers,
Gianluca Sartori

Reply via email to