html/Ticket/Elements/PreviewScrips to allow users (Actors) to prevent (opt-out; Squelch) future emails from being sent to themselves for individual tickets

Hello all,

Here is a quick/dirty patch for “html/Ticket/Elements/PreviewScrips”
(from rt-v3.6) to give users (Actors) an interface to prevent
(Squelch) future emails from being sent to themselves for an
individual ticket.

RT appeared to have a way to Update(.html) the ticket to squelch
emails sent to other users on individual tickets, but didn’t have a
way for any user to opt-out of future emails sent to themselves
(unless NotifyActor=1 was set). ?

This patch just adds another checkbox at the bottom of "Update.html"
that allows users (Authors) to silence (squelch) themselves, if they
aren’t already squelched.

I wanted this because I automatically add a large Group to the AdminCC
for each new ticket, and wanted a way for users to opt-out of all the
emails for a ticket without having to delete the Group from the
AdminCC and manually add ALL the other users that were in that Group
back as AdminCCs.

Perhaps this capability already exists, and/or perhaps there’s a
better way to do this, but I couldn’t find it, so here’s what I came
up with.


Thor Kooda

PreviewScrips_rt3.6_patch1.diff (963 Bytes)