Ignore:
Timestamp:
Apr 14, 2009, 10:16:05 PM (16 years ago)
Author:
gav
Message:

First commit of Inventory domain, including domain-classes, controllers, views and bootstrap. Also double check/adjust as required security extends in controllers.

Location:
trunk/grails-app/controllers
Files:
15 added
11 edited

Legend:

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

    r71 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 @Secured(['ROLE_AppAdmin'])
    4 class AuthorityController {
     3class AuthorityController extends BaseAppAdminController {
    54
    65        // the delete, save and update actions only accept POST requests
  • trunk/grails-app/controllers/EntryController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class EntryController extends BaseController {
     3class EntryController extends BaseAppAdminController {
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/EntryTypeController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class EntryTypeController extends BaseController {
     3class EntryTypeController extends BaseAppAdminController {
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/PersonGroupController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 @Secured(['ROLE_AppAdmin'])
    4 class PersonGroupController extends BaseController {
     3class PersonGroupController extends BaseAppAdminController {
    54
    65    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/PersonGroupTypeController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 @Secured(['ROLE_AppAdmin'])
    4 class PersonGroupTypeController extends BaseController {
     3class PersonGroupTypeController extends BaseAppAdminController {
    54
    65    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/TaskGroupController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class TaskGroupController extends BaseController {
     3class TaskGroupController extends BaseAppAdminController {
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/TaskModificationController.groovy

    r93 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class TaskModificationController extends BaseController {
     3class TaskModificationController extends BaseAppAdminController {
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/TaskModificationTypeController.groovy

    r93 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class TaskModificationTypeController extends BaseController {
     3class TaskModificationTypeController extends BaseAppAdminController{
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/TaskPriorityController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class TaskPriorityController extends BaseController {
     3class TaskPriorityController extends BaseAppAdminController {
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/TaskStatusController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class TaskStatusController extends BaseController {
     3class TaskStatusController extends BaseAppAdminController {
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/controllers/TaskTypeController.groovy

    r74 r116  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class TaskTypeController extends BaseController {
     3class TaskTypeController extends BaseAppAdminController {
    44   
    55    def index = { redirect(action:list,params:params) }
Note: See TracChangeset for help on using the changeset viewer.