Changeset 627 for trunk/grails-app/conf


Ignore:
Timestamp:
Jul 14, 2010, 10:46:04 AM (14 years ago)
Author:
gav
Message:

Allow all mangers to access manager view, appLog view and rebuildTextSearchIndex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r622 r627  
    181181        subItems: [
    182182            [order:10, controller:'appCore', title:'Start', action:'start', isVisible: { true }],
    183             [order:20, controller:'appCore', title:'Manager', action:'manager', isVisible: { authenticateService.ifAnyGranted('ROLE_Manager,ROLE_AppAdmin') }],
     183            [order:20, controller:'appCore', title:'Manager', action:'manager', isVisible: {
     184                    authenticateService.ifAnyGranted('ROLE_AppAdmin,ROLE_Manager,ROLE_TaskManager,ROLE_InventoryManager,ROLE_AssetManager,ROLE_ProductionManager')
     185                }
     186            ],
    184187            [order:30, controller:'appCore', title:'Admin', action:'appAdmin', isVisible: { authenticateService.ifAllGranted('ROLE_AppAdmin') }],
    185188            [order:90, controller:'appCore', title:'Timeout', action:'changeSessionTimeout', isVisible: { params.action == 'changeSessionTimeout' }],
Note: See TracChangeset for help on using the changeset viewer.