Skip to content

Commit

Permalink
Allow everyone to access survey feedback style
Browse files Browse the repository at this point in the history
  • Loading branch information
mechkg committed Jan 26, 2018
1 parent 2c1f415 commit 51e3a79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 51e3a79

Please sign in to comment.