summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb1
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?