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

Last change on this file since 149 was 149, checked in by gav, 10 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
Line 
1import org.codehaus.groovy.grails.plugins.springsecurity.Secured
2
3@Secured(['ROLE_AppUser', 'ROLE_AppAdmin'])
4abstract class BaseController {
5    def whatsit() {
6    }
7
8}
9
Note: See TracBrowser for help on using the repository browser.