Feature #20822
closed
No private issue notifications
Added by Karel Pičman about 9 years ago.
Updated about 9 years ago.
Category:
Email notifications
Description
Email notifications of private issues shouldn't be sent to all project members
Files
- Subject changed from Private issue notifications to No private issue notifications
- Tracker changed from Patch to Feature
Sorry, I cannot get your intention.
Your patch send mail to assignee, right?
Your patch change behavior.
I think it is better to add checkbox on issue form such as ChiliProject.
https://www.chiliproject.org/issues/310
My intention is related to PRIVATE issues only. While private issues are hidden to the project members except the author and the assignee, the email notifications are distributed to all project members. And that's wrong, I think.
Karel Pičman wrote:
While private issues are hidden to the project members except the author and the assignee,
It is not true.
Private issue visibility can be defined at role "Issues visibility".
You're right. From that perspective my patch is wrong. However, the problem persists. In case of an update of a private issue, all members of the project get notifications despite the fact they are not allowed to view the issue.
- Status changed from New to Resolved
I see it now. That's a complete misunderstanding from my site. Sorry for your time. You can close it as Invalid.
Karel Pičman wrote:
all members of the project get notifications despite the fact they are not allowed to view the issue.
Really?
source:tags/3.1.1/app/models/issue.rb#L889
# Remove users that can not view the issue
notified.reject! {|user| !visible?(user)}
- Status changed from Resolved to Closed
- Resolution set to Invalid
Also available in: Atom
PDF