Show
Ignore:
Timestamp:
28-03-12 14:19:41 (2 years ago)
Author:
work@…
Message:

- api methods should not use authentication, only the authenticate method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/api/ApiController.groovy

    r2184 r2185  
    7070    } 
    7171 
    72     @Secured(['ROLE_CLIENT', 'ROLE_ADMIN']) 
     72//    @Secured(['ROLE_CLIENT', 'ROLE_ADMIN']) 
    7373    def getStudies = { 
    7474        println "api::getStudies: ${params}" 
     
    123123    } 
    124124 
    125     @Secured(['ROLE_CLIENT', 'ROLE_ADMIN']) 
     125//    @Secured(['ROLE_CLIENT', 'ROLE_ADMIN']) 
    126126    def getSubjectsForStudy = { 
    127127        println "api::getSubjectsForStudy: ${params}" 
     
    186186 
    187187 
    188     @Secured(['ROLE_CLIENT', 'ROLE_ADMIN']) 
     188//    @Secured(['ROLE_CLIENT', 'ROLE_ADMIN']) 
    189189    def getAssaysForStudy = { 
    190190        println "api::getAssaysForStudy: ${params}"