From: Jean-Baptiste Vilain Date: Mon, 22 Jul 2013 11:57:44 +0000 (+0200) Subject: SONAR-4510 Partial fix to hide the bulk change link in issues drilldown when the... X-Git-Tag: 3.7~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=27df0f32a23df9c6b3fd40855ab07a42b5a43605;p=sonarqube.git SONAR-4510 Partial fix to hide the bulk change link in issues drilldown when the user is not logged in --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb index dffc5f986ac..5047c094f36 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb @@ -58,7 +58,7 @@ <%= render :partial => 'rules_filter' -%> - <% if @issue_results && @issue_results.issues && !@issue_results.issues.empty? %> + <% if logged_in? && @issue_results && @issue_results.issues && !@issue_results.issues.empty? %> <%= message('bulk_change') -%>