From: Julien Lancelot Date: Wed, 15 May 2013 14:38:16 +0000 (+0200) Subject: SONAR-4293 Dot not display the my unresolved issues when not logged X-Git-Tag: 3.6~370 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e4ef32fcc71bae444b0102905641e8f013c542db;p=sonarqube.git SONAR-4293 Dot not display the my unresolved issues when not logged --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/my_unresolved_issues.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/my_unresolved_issues.html.erb index b043744408b..dc362dc8f34 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/my_unresolved_issues.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/my_unresolved_issues.html.erb @@ -1,5 +1,5 @@ <% - if !@project || has_role?(:user, @project) + if current_user && (!@project || has_role?(:user, @project)) search_options = {} search_options['componentRoots'] = @project.key if @project