diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-27 14:19:34 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-02 11:57:01 +0300 |
commit | e62b5a2b072eb1bc8587b095e906bd194475eacc (patch) | |
tree | 41c8af3aa73cce323bc9bdb53091c5c44ad39951 /app/views/projects/issues/_discussion.html.haml | |
parent | 756e7aa8c347ccf211db03a7fa16ab33c021f820 (diff) |
Only allow user to see participants from groups they have access to.
Diffstat (limited to 'app/views/projects/issues/_discussion.html.haml')
-rw-r--r-- | app/views/projects/issues/_discussion.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml index 0d3028d50b4..288b48f4583 100644 --- a/app/views/projects/issues/_discussion.html.haml +++ b/app/views/projects/issues/_discussion.html.haml @@ -9,8 +9,8 @@ .votes-holder.pull-right #votes= render 'votes/votes_block', votable: @issue .participants - %span= pluralize(@issue.participants.count, 'participant') - - @issue.participants.each do |participant| + %span= pluralize(@issue.participants(current_user).count, 'participant') + - @issue.participants(current_user).each do |participant| = link_to_member(@project, participant, name: false, size: 24) .voting_notes#notes= render "projects/notes/notes_with_form" %aside.col-md-3 |