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/AssetExtendedAttributeDetailedController.groovy

    r293 r298  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
     3@Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AssetManager'])
    34class AssetExtendedAttributeDetailedController extends BaseController {
    4 
    5     def index = { redirect(controller: "assetDetailed", action: "search", params:params) }
    65
    76    // the delete, save and update actions only accept POST requests
    87    static allowedMethods = [delete:'POST', save:'POST', update:'POST']
     8
     9    def index = { redirect(controller: "assetDetailed", action: "search", params:params) }
    910
    1011    def show = {
Note: See TracChangeset for help on using the changeset viewer.