Defect #31745
closedMail notifications do not honor 'only_assigned' mail_notification setting
Description
When a user selects 'only_assigned' for mail notifications, they still get emails for issues they are watching.
Digging in to the code, I see that Issue#notified_users calls notify_about?() to verify if a user should be notified about an update. Looking further though, I see that Mailer#deliver_issue_edit calls notified_users AND notified_watchers. The notified_watchers method does not appear to filter if a user wants to be notified about an update or not and just adds in all watchers as CC'd people.
Perhaps I am misreading it, but this seems like a bug. I verified this is still the case in redmine master as well as the versions I am running. Filing this under the 'Issues' category, but not sure if that is the best place for this or not. It seems to impact all versions of Redmine as well.