summaryrefslogtreecommitdiff
path: root/app/views/events
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-17 18:03:10 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-03-17 20:56:00 -0300
commit9222459ea36ce7bfafdf76742a5a44db7957db8d (patch)
tree669fe46666545d837a79280a8c2fcc955175a56e /app/views/events
parent7d403ec46ffd5778a68eebb9117e08f605938b15 (diff)
downloadgitlab-ce-9222459ea36ce7bfafdf76742a5a44db7957db8d.tar.gz
Restrict access to confidential issues on activity feed
Diffstat (limited to 'app/views/events')
-rw-r--r--app/views/events/_event.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index 36fb2d51629..2d9d9dd6342 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -1,4 +1,4 @@
-- if event.proper?
+- if event.proper?(current_user)
.event-item{class: "#{event.body? ? "event-block" : "event-inline" }"}
.event-item-timestamp
#{time_ago_with_tooltip(event.created_at)}