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

Thor Kooda tkooda-patch-rt at devsec.org
Thu Jul 30 16:14:10 EDT 2009


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.

YMMV.

-- 
Thor Kooda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PreviewScrips_rt3.6_patch1.diff
Type: text/x-diff
Size: 963 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090730/072f936d/attachment.diff>


More information about the rt-users mailing list