This patch allows administrators to restrict the sending of Case Tracker status update mails by user roles.
Motivation:
I have a site where anonymous users and members of the 'customer' role can submit cases but receiving a status update on their case would be confusing.
This patch adds a 'Send Case Tracker mails to members of these roles' fieldset containing a checkbox for each of the site's roles at 'admin/settings/casetracker/mail'.
Before sending a status update mail, the casetracker_mail_send function performs a user_load on each user associated with the case and checks to see if that user is a member of any roles that should receive a status update. If a user is a member of any of the roles that should receive updates, an email will be sent, even if her other roles are set not to receive updates.
| Comment | File | Size | Author |
|---|---|---|---|
| casetracker_mail_by_roles.patch | 4.82 KB | ezra-g |
Comments
Comment #1
ezra-g commentedAnyone ever look at this?
Comment #2
DaveNotik commentedI don't think so. I'd love to see contributions make it in.
Morbus, where are you? :(
Comment #3
eclipsegc commentedCasetracker is under new management.
Please re-apply this against Dev if you'd like to see it committed.
Comment #4
jmiccolis commentedChanging target version to 6.x as we're not adding any new features to the 5.x branch at this point.
Comment #5
jmiccolis commentedHi all,
I'm looking for feedback on how we can move forward with CT Mail, as it's the big release blocker for Drupal 6 http://drupal.org/node/712794
Comment #6
jmiccolis commentedI've just removed CT mail from the Case Tracker suite. My intention is to replace it with a messaging and notifications module that extends what you can already do with those modules. As this issue no longer applies to Case Tracker I'm setting it to "won't fix".