Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2019-01-24 15:48:19 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2019-01-24 15:48:22 +0300
commite3eb245f1da5f66a402aaf87b67387e6c414223c (patch)
tree413b6de6e730579119fcda6c9b40ad928d1e3624 /app
parenta7f7bcf3d130da65169e0b3e9cc83c6a55cad50d (diff)
Merge branch 'security-11-7-commit-status-shown-for-guest-user' into 'security-11-7'
[11.7] Stop showing ci for guest users See merge request gitlab/gitlabhq!2832 (cherry picked from commit a40c184fb36be7c61fc3ad643fa89b0097106304) 566b58d1 Stop showing ci for guest users
Diffstat (limited to 'app')
-rw-r--r--app/views/shared/projects/_project.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml
index fea7e17be3d..e1564d57426 100644
--- a/app/views/shared/projects/_project.html.haml
+++ b/app/views/shared/projects/_project.html.haml
@@ -84,7 +84,7 @@
title: _('Issues'), data: { container: 'body', placement: 'top' } do
= sprite_icon('issues', size: 14, css_class: 'append-right-4')
= number_with_delimiter(project.open_issues_count)
- - if pipeline_status && can?(current_user, :read_cross_project) && project.pipeline_status.has_status?
+ - if pipeline_status && can?(current_user, :read_cross_project) && project.pipeline_status.has_status? && can?(current_user, :read_build, project)
%span.icon-wrapper.pipeline-status
= render_project_pipeline_status(project.pipeline_status, tooltip_placement: 'top')
.updated-note