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

Set base authorisations on all controllers.

File:
1 edited

Legend:

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

    r213 r298  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
     3@Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager'])
    34class TaskRecurringScheduleDetailedController extends BaseController {
    45
    56    def taskRecurringScheduleService
    67
     8    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser'])
    79    def index = { redirect(action:list,params:params) }
    810
     
    1012    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
    1113
     14    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser'])
    1215    def list = {
    1316        params.max = Math.min( params.max ? params.max.toInteger() : 10,  100)
     
    1518    }
    1619
     20    @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser'])
    1721    def show = {
    1822        def taskRecurringScheduleInstance = TaskRecurringSchedule.get( params.id )
Note: See TracChangeset for help on using the changeset viewer.