Changeset 2185


Ignore:
Timestamp:
Mar 28, 2012, 2:19:41 PM (5 years ago)
Author:
work@…
Message:
  • api methods should not use authentication, only the authenticate method
File:
1 edited

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}"
Note: See TracChangeset for help on using the changeset viewer.