aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-02-01 15:45:36 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-02-01 16:45:10 +0100
commit84d4f441879de01734bb9041fc0cdfbd461386ee (patch)
treed53d8c3f0a1f62d2202846fd77e1790e07fecc9e
parent68ac319d78630e20a13e6b540fee4a9011f40ef1 (diff)
downloadsonarqube-84d4f441879de01734bb9041fc0cdfbd461386ee.tar.gz
sonarqube-84d4f441879de01734bb9041fc0cdfbd461386ee.zip
SONAR-7115 Retrieve system status when forced authentication is enabled5.4-M11
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb
index 7ee7e580709..088c13c959d 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb
@@ -49,7 +49,10 @@ class Api::JavaWsController < Api::ApiController
def skip_authentication_check_for_batch
- (params[:wspath]=='batch' && params[:wsaction]=='index') || (params[:wspath]=='batch' && params[:wsaction]=='file')
+ (params[:wspath]=='batch' && params[:wsaction]=='index') ||
+ (params[:wspath]=='batch' && params[:wsaction]=='file') ||
+ (params[:wspath]=='api/system' && params[:wsaction]=='db_migration_status') ||
+ (params[:wspath]=='api/system' && params[:wsaction]=='status')
end
end