- Timestamp:
- Jul 14, 2010, 1:18:53 PM (14 years ago)
- Location:
- trunk/grails-app/controllers
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AddressDetailedController.groovy
r403 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 4 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager']) 4 5 class AddressDetailedController extends BaseController { 5 6 6 7 def addressService 7 8 8 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AppUser']) 9 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 10 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager', 'ROLE_AppUser']) 9 11 def index = { redirect(action:list,params:params) } 10 12 … … 12 14 static allowedMethods = [delete:'POST', save:'POST', update:'POST'] 13 15 14 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AppUser']) 16 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 17 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager', 'ROLE_AppUser']) 15 18 def list = { 16 19 params.max = Math.min( params.max ? params.max.toInteger() : 10, 100) … … 18 21 } 19 22 20 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AppUser']) 23 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 24 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager', 'ROLE_AppUser']) 21 25 def show = { 22 26 def addressInstance = Address.get( params.id ) -
trunk/grails-app/controllers/BaseController.groovy
r298 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_ AppUser'])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AppUser']) 4 4 abstract class BaseController { 5 5 -
trunk/grails-app/controllers/ContactDetailedController.groovy
r402 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 4 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager']) 4 5 class ContactDetailedController extends BaseController { 5 6 6 7 def contactService 7 8 8 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AppUser']) 9 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 10 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager', 'ROLE_AppUser']) 9 11 def index = { redirect(action:list,params:params) } 10 12 … … 12 14 static allowedMethods = [delete:'POST', save:'POST', update:'POST'] 13 15 14 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AppUser']) 16 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 17 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager', 'ROLE_AppUser']) 15 18 def list = { 16 19 params.max = Math.min( params.max ? params.max.toInteger() : 10, 100) … … 18 21 } 19 22 20 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_AppUser']) 23 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 24 'ROLE_InventoryManager', 'ROLE_AssetManager', 'ROLE_ProductionManager', 'ROLE_AppUser']) 21 25 def show = { 22 26 def contactInstance = Contact.get( params.id ) -
trunk/grails-app/controllers/CostCodeDetailedController.groovy
r441 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager' , 'ROLE_InventoryManager'])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 4 4 class CostCodeDetailedController extends BaseController { 5 5 -
trunk/grails-app/controllers/DepartmentDetailedController.groovy
r403 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_ Manager','ROLE_AppAdmin'])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 4 4 class DepartmentDetailedController extends BaseController { 5 5 -
trunk/grails-app/controllers/DepartmentExtendedAttributeDetailedController.groovy
r403 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_ Manager','ROLE_AppAdmin'])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 4 4 class DepartmentExtendedAttributeDetailedController extends BaseController { 5 5 -
trunk/grails-app/controllers/ExtendedAttributeTypeDetailedController.groovy
r403 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_ Manager','ROLE_AppAdmin'])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 4 4 class ExtendedAttributeTypeDetailedController extends BaseController { 5 5 -
trunk/grails-app/controllers/InventoryGroupDetailedController.groovy
r403 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager' , 'ROLE_InventoryManager'])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 4 4 class InventoryGroupDetailedController extends BaseController { 5 5 -
trunk/grails-app/controllers/PersonController.groovy
r440 r628 2 2 import org.codehaus.groovy.grails.commons.ConfigurationHolder 3 3 4 @Secured(['ROLE_ Manager','ROLE_AppAdmin'])4 @Secured(['ROLE_AppAdmin', 'ROLE_Manager']) 5 5 class PersonController extends BaseAppAdminController { 6 6 -
trunk/grails-app/controllers/ProductionReferenceDetailedController.groovy
r431 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager' ])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager', 'ROLE_ProductionManager']) 4 4 class ProductionReferenceDetailedController extends BaseController { 5 5 -
trunk/grails-app/controllers/UnitOfMeasureDetailedController.groovy
r559 r628 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 2 3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_ TaskManager'])3 @Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_InventoryManager']) 4 4 class UnitOfMeasureDetailedController extends BaseController { 5 5
Note: See TracChangeset
for help on using the changeset viewer.