Closed Bug 1186788 Opened 5 years ago Closed 5 years ago

disabling an account should always disable bugmail

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file)

the default action when disabling a user is for bugzilla to continue to send them emails.  this can result in bugzilla generating and sending a lot of unnecessary email.

instead of requiring admins to remember to check the 'disable bugmail' checkbox when disabling an account we should make is so disabling an account always disables bugmail.
Attached patch 1186788_1.patch β€” β€” Splinter Review
- tie disable_mail property to is_enabled in the user object
- fix database entries in checksetup
- update the disable_mail checkbox immediately when editing a user
Attachment #8637738 - Flags: review?(dylan)
Comment on attachment 8637738 [details] [diff] [review]
1186788_1.patch

Review of attachment 8637738 [details] [diff] [review]:
-----------------------------------------------------------------

r=dylan
Attachment #8637738 - Flags: review?(dylan) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   1e32881..a8ef3e1  master -> master
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
fix crash when creating users:

To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   8553f91..1146dff  master -> master
You need to log in before you can comment on or make changes to this bug.