Follow up: Fixed issue #1810 - Reset notification receiving to 'full' again to avoid unwanted spamming to users that have no direct permissions to the ticket. This needs a broader refactoring.

This commit is contained in:
Thorsten Eckel 2018-02-27 11:41:29 +01:00
parent 196672c50e
commit db9d0a0eae

View file

@ -49,7 +49,7 @@ class Transaction::Notification
recipients_reason = {} recipients_reason = {}
# loop through all users # loop through all users
possible_recipients = User.group_access(ticket.group_id, 'read').sort_by(&:login) possible_recipients = User.group_access(ticket.group_id, 'full').sort_by(&:login)
# apply owner # apply owner
if ticket.owner_id != 1 if ticket.owner_id != 1