Ignore:
Timestamp:
Jan 25, 2010, 2:14:48 PM (14 years ago)
Author:
gav
Message:

Set base authorisations on all controllers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/TaskProcedureDetailedController.groovy

    r178 r298  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
     3@Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager'])
    34class TaskProcedureDetailedController extends BaseController {
    45
     
    1011    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    1112
     13    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser'])
    1214    def list = {
    1315        params.max = Math.min( params.max ? params.max.toInteger() : 10,  100)
     
    2325    }
    2426
     27    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser'])
    2528    def search = {
    2629        redirect(action:list)
    2730    }
    2831
     32    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser'])
    2933    def show = {
    3034
Note: See TracChangeset for help on using the changeset viewer.