Bug #20084
closedEmail notification - Sync errata - email should be send to only those users who belongs/access to the organization
Description
Steps to Reproduce:
1. Create User "User-A" in Organization-A and select "syn errata" in My Account
[root@dsatellite ~]# hammer user info --login ranjan
Id: 5
Login: usera
Email: usera@redhat.com
Organizations:
Organization-A
2. Create User "User-B" in Organization-B and select "syn errata" in My Account
[root@satellite ~]# hammer user info --login admin
Id: 3
Login: userb
Email: userb@gmail.com
Organizations:
Organization-B
3. Start any repository sync in Organization-A
4. Now Observed that User-B also get a mail even the userb is not a part of Organization-A
Sent mail to userb@gmail.com (3968.5ms)
2017-06-22 11:36:29 [app] [D] Date: Thu, 22 Jun 2017 11:36:25 +0530
| From: satellite@example.com
| To: userb@gmail.com
| Subject: [satellite] Sync Summary for Red Hat Enterprise Linux 7 Server RPMs
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6834 added
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|e9612832407211bac1248aefef5b8d3d037b74cd.
Updated by Eric Helms over 7 years ago
- Translation missing: en.field_release set to 267
Updated by Eric Helms over 7 years ago
- Translation missing: en.field_release changed from 267 to 281