From f9b3ab5232378f22a5cd37325c3c85c68984f630 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 2 Oct 2012 16:47:58 +0200 Subject: [PATCH] SONAR-3847 The web service /api/profiles/backup should not require administrator right --- .../webapp/WEB-INF/app/controllers/api/profiles_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb index 9df4d48838d..906a2445768 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb @@ -105,7 +105,6 @@ class Api::ProfilesController < Api::ApiController # Backup a profile. If output format is xml, then backup is directly returned. # GET /api/profiles/backup?language=[&name=my_profile] -v def backup - access_denied unless has_role?(:admin) require_parameters :language if params[:name].blank? -- 2.39.5