source: trunk/grails-app/controllers/BaseController.groovy @ 149

Last change on this file since 149 was 149, checked in by gav, 15 years ago

Refactor bootstrap data generation to new CreateDataService?.
Tweak security annotations so that ROLE_AppAdmin gives access to all areas.
Rework DataSource? to allow building of prod and dev WARs.
Include MySQL jdbc connector which is GNU GPL'd and used in the prod WAR.

  • Property svn:executable set to *
File size: 172 bytes
RevLine 
[62]1import org.codehaus.groovy.grails.plugins.springsecurity.Secured
2
[149]3@Secured(['ROLE_AppUser', 'ROLE_AppAdmin'])
[59]4abstract class BaseController {
5    def whatsit() {
6    }
[69]7
[59]8}
9
Note: See TracBrowser for help on using the repository browser.