From 47c34064dd5279ed517c30af01ef5488d0c4bcb4 Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Wed, 29 Apr 2015 13:24:09 +0200 Subject: 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 --- .../src/main/webapp/WEB-INF/app/controllers/api/server_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/sonar-web') 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' -- cgit v1.2.3