Commit f539ec23 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 677081: Private comments should remain visible by their author

r=glob a=LpSolit
parent ecad88e7
......@@ -101,7 +101,7 @@
[%############################################################################%]
[% BLOCK a_comment %]
[% RETURN IF comment.is_private AND ! user.is_insider %]
[% RETURN IF comment.is_private AND NOT (user.is_insider || user.id == comment.author.id) %]
[% comment_text = comment.body_full %]
[% RETURN IF comment_text == '' AND (comment.work_time - 0) != 0 AND !user.is_timetracker %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment