aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-22 13:57:44 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-07-22 13:57:44 +0200
commit27df0f32a23df9c6b3fd40855ab07a42b5a43605 (patch)
treec1a1f74f2f17376d1dc1e3082f79441b21c940b5 /sonar-server
parent66911824a39a84ae376020973d9fa79070a982a3 (diff)
downloadsonarqube-27df0f32a23df9c6b3fd40855ab07a42b5a43605.tar.gz
sonarqube-27df0f32a23df9c6b3fd40855ab07a42b5a43605.zip
SONAR-4510 Partial fix to hide the bulk change link in issues drilldown when the user is not logged in
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/resource/_options.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
<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>