From db9d0a0eae36e93e20ca7d78dddf4e87584b2945 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 27 Feb 2018 11:41:29 +0100 Subject: [PATCH] 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. --- app/models/transaction/notification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/transaction/notification.rb b/app/models/transaction/notification.rb index 23895ae2e..bbcad80d4 100644 --- a/app/models/transaction/notification.rb +++ b/app/models/transaction/notification.rb @@ -49,7 +49,7 @@ class Transaction::Notification recipients_reason = {} # 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 if ticket.owner_id != 1