- Timestamp:
- Jan 25, 2010, 2:14:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/TaskRecurringScheduleDetailedController.groovy
r213 r298 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager']) 3 4 class TaskRecurringScheduleDetailedController extends BaseController { 4 5 5 6 def taskRecurringScheduleService 6 7 8 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser']) 7 9 def index = { redirect(action:list,params:params) } 8 10 … … 10 12 static allowedMethods = [delete:'POST', save:'POST', update:'POST'] 11 13 14 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser']) 12 15 def list = { 13 16 params.max = Math.min( params.max ? params.max.toInteger() : 10, 100) … … 15 18 } 16 19 20 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_TaskUser']) 17 21 def show = { 18 22 def taskRecurringScheduleInstance = TaskRecurringSchedule.get( params.id )
Note: See TracChangeset
for help on using the changeset viewer.