mantisbt/mantisbt — pull request #376 by dregad (2014-10-10 12:39:03+00:00)
Title: Hide attachments in history if user can't see them

If user is not allowed to view attachments (i.e. their access level is
lower than $g_view_attachments_threshold), then the history should not
display information about attachments.

Fixes http://www.mantisbt.org/bugs/view.php?id=17744