From 84d4f441879de01734bb9041fc0cdfbd461386ee Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Mon, 1 Feb 2016 15:45:36 +0100 Subject: SONAR-7115 Retrieve system status when forced authentication is enabled --- .../main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3