Details
Description
Grails filter definitions should allow for exclusion of some actions, as follows:
myFilter(controller:'', action:'') {
}
could allow:
myFilter(includes:{controller:'*', action:'*'}, excludes:{controller:'notthisone', action:'book'}) {
}
or
myFilter(controller:['xxx','yyy'], action:['foo','bar']) {
}
Not sure of the exact format it should take, but you should be allowed to filter "all except", or you should be able to explicitly define what you want filtered such as "these four controllers" and "these three actions"
This is a very annoying situation in deed.
If we only take the example of a really simple login system that must filter all the controllers except one, it keeps us from beeing dry.
Cheers,