summaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-04-29 13:24:09 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2015-05-05 09:18:54 +0200
commit47c34064dd5279ed517c30af01ef5488d0c4bcb4 (patch)
treeff046b13f4f2538ccd7e8845fb421cefc1402205 /server/sonar-web
parent85d04f60de0d293d4d2070db0725af2ea52f7b16 (diff)
downloadsonarqube-47c34064dd5279ed517c30af01ef5488d0c4bcb4.tar.gz
sonarqube-47c34064dd5279ed517c30af01ef5488d0c4bcb4.zip
system/upgrades and system/restart should not require user authent
remove global authentication verification on /api/system in RoR so that WS /api/system/upgrades and /api/system/restart do not require user to be authenticated
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/server_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/server_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/server_controller.rb
index 91ff7fd875e..ab4b158a85b 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/server_controller.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/server_controller.rb
@@ -19,7 +19,7 @@
#
class Api::ServerController < Api::ApiController
- skip_before_filter :check_authentication, :except => 'system'
+ skip_before_filter :check_authentication
# prevent HTTP proxies from caching server status
before_filter :set_cache_buster, :only => 'index'