Changeset 1387

Show
Ignore:
Timestamp:
13-01-11 09:45:59 (3 years ago)
Author:
t.w.abma@…
Message:

- authentication check added

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1381 r1387  
    1212 
    1313import org.codehaus.groovy.grails.plugins.web.taglib.ValidationTagLib 
     14 
     15import grails.plugins.springsecurity.Secured 
    1416 
    1517/** 
     
    2426 * $Date$ 
    2527 */ 
     28@Secured(['IS_AUTHENTICATED_REMEMBERED']) 
    2629class ImporterController { 
    2730    // the pluginManager is used to check if the Grom 
     
    120123                flow.studies = Study.findAllWhere(owner:AuthenticationService.getLoggedInUser()) 
    121124                flow.importer_importableentities = grailsApplication.config.gscf.domain.importableEntities 
    122                  
     125 
    123126                success() 
    124127            }