On Thursday, July 5, 2012 3:29:03 PM UTC-7, Daniel França wrote:
Hi, I wanto to know if it's possible to hide ticket change history for some groups or permissions...
but it seems to work only to hide sensitive ticket, not to hide only the change history for specific groups.
Anyone know some good solution for this case?
If you were trying to hide a realm or specific resource (ticket, milestones, pastebin, etc ..), then FineGrainPermissions would help you. In this case, the only possible way I know of is to write a plugin that adds a TICKET_VIEW_COMMENT permission and implements ITemplateStreamFilter to strip out the HTML for the comment history for users that don't have that permission. Similarly, SimpleTicketPlugin does this for fields on the newticket form (and BlackMagicTicketTweaksPlugin has much of the same functionality).
I'd be interested to know if someone has a better way to go about this, but the way I proposed I think is just a 20-30 LOC plugin.