diff --git a/ApiPlayServer/app/controllers/system/user/SurveyController.scala b/ApiPlayServer/app/controllers/system/user/SurveyController.scala index 4542a8cc..05be8c6a 100644 --- a/ApiPlayServer/app/controllers/system/user/SurveyController.scala +++ b/ApiPlayServer/app/controllers/system/user/SurveyController.scala @@ -53,7 +53,7 @@ class SurveyController @Inject()(service: SurveyService, translateDatabaseResult(service.getPublicSurveyParameters(surveyId)) } - def getSurveyFeedbackStyle(surveyId: String) = rab.restrictToRoles(Roles.superuser, Roles.surveyAdmin, Roles.surveyStaff(surveyId), Roles.surveyRespondent(surveyId))(playBodyParsers.empty) { + def getSurveyFeedbackStyle(surveyId: String) = Action.async { _ => Future { translateDatabaseResult(service.getSurveyFeedbackStyle(surveyId)) }