diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-02 16:47:58 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-02 16:48:18 +0200 |
commit | f9b3ab5232378f22a5cd37325c3c85c68984f630 (patch) | |
tree | 1124eaf849c29b7e69f3b2dbeae7802e584bb295 | |
parent | be04e85af8392c47b75cdb96e1278944e5708815 (diff) | |
download | sonarqube-f9b3ab5232378f22a5cd37325c3c85c68984f630.tar.gz sonarqube-f9b3ab5232378f22a5cd37325c3c85c68984f630.zip |
SONAR-3847 The web service /api/profiles/backup should not require administrator right
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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=<language>[&name=my_profile] -v def backup - access_denied unless has_role?(:admin) require_parameters :language if params[:name].blank? |