Changeset 1059


Ignore:
Timestamp:
Nov 3, 2010, 2:51:34 PM (6 years ago)
Author:
t.w.abma@…
Message:
  • only show own studies
File:
1 edited

Legend:

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

    r1058 r1059  
    3535@Secured(['IS_AUTHENTICATED_REMEMBERED'])
    3636class ImporterController {
    37     def ImporterService   
     37    def ImporterService
     38    def AuthenticationService
    3839
    3940    /**
     
    4849
    4950    def simpleWizard = {
    50         render(view:"index_simple", model:[studies:Study.list(), entities: grailsApplication.config.gscf.domain.importableEntities])
     51        render(view:"index_simple", model:[studies:Study.findAllWhere(owner:AuthenticationService.getLoggedInUser()), entities: grailsApplication.config.gscf.domain.importableEntities])
    5152    }
    5253
Note: See TracChangeset for help on using the changeset viewer.