Changeset 149 for trunk/grails-app/controllers/AppCoreController.groovy
- Timestamp:
- Oct 9, 2009, 9:47:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AppCoreController.groovy
r139 r149 4 4 5 5 def authenticateService 6 def createDataService 6 7 7 8 def index = { redirect(action:start,params:params) } … … 45 46 } 46 47 } 47 } 48 } 48 49 49 50 def changePassword = { … … 78 79 render(view:'changePassword',model:[personInstance:personInstance]) 79 80 } 80 81 } 81 82 } 82 83 } 83 84 84 @Secured(['ROLE_Manager' ])85 @Secured(['ROLE_Manager','ROLE_AppAdmin']) 85 86 def manager = { 86 87 } 87 88 88 @Secured(['ROLE_AppAdmin']) 89 @Secured(['ROLE_AppAdmin']) 89 90 def appAdmin = { 90 91 } 91 92 93 @Secured(['ROLE_AppAdmin']) 94 def createBaseData = { 95 createDataService.createBaseData() 96 redirect(action:appAdmin) 97 } 98 99 @Secured(['ROLE_AppAdmin']) 100 def createDemoData = { 101 createDataService.createDemoData() 102 redirect(action:appAdmin) 103 } 104 92 105 }
Note: See TracChangeset
for help on using the changeset viewer.