Bug 1329411

Summary: [RFE] E-mail Scheduled Report target list too broad
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: UI - OPSAssignee: Libor Pichler <lpichler>
Status: CLOSED ERRATA QA Contact: Jiri Stefanisin <jistefan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: cpelland, hkataria, jhardy, jprause, lpichler, mfeifer, mpovolny, obarenbo, simaishi, ssainkar
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.5.4   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.5.4.0 Doc Type: Enhancement
Doc Text:
Previously, when scheduling an emailed report, the "To" drop down list showed all users in the logged-in customer's role rather than group. There was a feature need to restrict the list of emails by current user's groups which is now implemented in this release.
Story Points: ---
Clone Of: 1287216 Environment:
Last Closed: 2016-05-31 13:42:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1287216, 1329415    
Bug Blocks:    

Comment 1 Chris Pelland 2016-04-21 20:58:18 UTC
*** Bug 1329415 has been marked as a duplicate of this bug. ***

Comment 3 CFME Bot 2016-04-25 13:56:20 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=537ba7c77585cb089fec5f230e725e4107bc07ab

commit 537ba7c77585cb089fec5f230e725e4107bc07ab
Merge: 9810417 e77add0
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Apr 25 09:54:18 2016 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Mon Apr 25 09:54:18 2016 -0400

    Merge branch 'bz_1329411' into '5.5.z'
    
    Restrict the list of e-mails by current user's groups
    
    https://github.com/ManageIQ/manageiq/pull/6260/
    https://bugzilla.redhat.com/show_bug.cgi?id=1329411
    
    cherry-pick was clean
    
    See merge request !906

 app/controllers/application_controller.rb       | 11 +++--
 app/models/user.rb                              |  4 ++
 spec/controllers/application_controller_spec.rb | 61 +++++++++++++++++++++++++
 3 files changed, 71 insertions(+), 5 deletions(-)

Comment 7 errata-xmlrpc 2016-05-31 13:42:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1101