From: Frédéric Buclin Date: Mon, 8 Aug 2011 16:13:18 +0000 (+0200) Subject: Bug 677081: Private comments should remain visible by their author X-Git-Tag: bugzilla-4.3.1~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f539ec23d8c72847ca1fbe2c85295cf4d38360b1;p=thirdparty%2Fbugzilla.git Bug 677081: Private comments should remain visible by their author r=glob a=LpSolit --- diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 208ea092a3..cbd1d0b836 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -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 %]