[rt-users] Exclude user from notifications

Emmanuel Lacour elacour at easter-eggs.com
Wed Feb 20 08:51:20 EST 2013


On Tue, Feb 19, 2013 at 08:07:00AM +0100, Robert Wysocki wrote:
> Hi,
> 
> I would like to exclude one of Queue AdminCc's from a certain
> notifications. The perfect way would be to create a custom role, but
> from what i've googled it is not implemented yet.
> 
> Is there any other way?
> 


the ugly way, create a new Notify action (in local/lib/RT/Action/),
based on RT::Action::Notify that call the Prepare stage of this one and
update @{ $self->{'To'} } (and Cc/Bcc) to remove the unwanted AdminCc.

then use this action in your scrip.



-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com



More information about the rt-users mailing list