]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4510 Partial fix to hide the bulk change link in issues drilldown when the...
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Mon, 22 Jul 2013 11:57:44 +0000 (13:57 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Mon, 22 Jul 2013 11:57:44 +0000 (13:57 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb

index dffc5f986acece92bcfe6e9bb44c22632dad7d60..5047c094f36fa5f49b0b2d4c3f39c415b08b52fe 100644 (file)
@@ -58,7 +58,7 @@
 
             <td class="<%= 'first' if first -%>"><%= render :partial => 'rules_filter' -%></td>
 
-            <% if @issue_results && @issue_results.issues && !@issue_results.issues.empty? %>
+            <% if logged_in? && @issue_results && @issue_results.issues && !@issue_results.issues.empty? %>
             <td class="<%= 'first' if first -%>">
               <a href="<%= url_for @issues_query_params.merge({:controller => 'issues', :action => 'bulk_change_form', 'componentRoots' => @resource.root ? @resource.root.key : nil}) -%>"
                  class="bulk-change-link open-modal link-action"><%= message('bulk_change') -%></a>