Bug 1289676

Summary: Scheduled reports generate for last group selected by user when user is a member of multiple groups
Product: Red Hat CloudForms Management Engine Reporter: Gregg Tanzillo <gtanzill>
Component: ReportingAssignee: Libor Pichler <lpichler>
Status: CLOSED ERRATA QA Contact: Jiri Stefanisin <jistefan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.4.0CC: cpelland, jhardy, mfeifer, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1289687 1289688 (view as bug list) Environment:
Last Closed: 2016-06-29 15:18:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1289687, 1289688    

Description Gregg Tanzillo 2015-12-08 17:29:32 UTC
When a user schedules a report to run, the schedule record contains the user's ID, but not the group's ID.  When the report actually runs, the group that is used to run the report is based on the last group the user logged in as (as noted above).  Not only does this label that saved report with a potentially different group each time, but the saved report's content is based on the group's RBAC filters, so that means each report might have different content.

Comment 5 errata-xmlrpc 2016-06-29 15:18:26 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:1348