Bug 1369554

Summary: [RFE] Allow Group Access to Report Schedules
Product: Red Hat CloudForms Management Engine Reporter: Dustin Scott <dscott>
Component: ReportingAssignee: John Hardy <jhardy>
Status: CLOSED WONTFIX QA Contact: Jiri Stefanisin <jistefan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: dajohnso, gscott, jhardy, jistefan, jocarter, mfeifer, obarenbo
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: report:rbac
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-24 14:08:06 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:

Description Dustin Scott 2016-08-23 18:16:01 UTC
-What is the nature and description of the request?
Allow group access to report schedules to make consistent with the rest of reporting functions, which are group-based.
  
-Why does the customer need this? (List the business requirements here)
Shared access to schedules allows customer to track schedules, and edit schedules in one place, and ensures no overlap.  The lack of group access to MiqReport schedules is inconsistent with the rest of reporting, which is confusing.
  
-How would the customer like to achieve this? (List the functional requirements here)

Update the /var/www/miq/vmdb/app/presenters/tree_builder_report_schedules.rb following line to reflect group access instead of user access:

objects = MiqSchedule.all(:conditions => ['towhat=? AND userid=?', 'MiqReport', User.current_user.userid])

Looking through the miq_schedules table, this would need to have a groupid or something similar added to it.
  
-For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Check group access following implementation of RFE errata.
  
-Is there already an existing RFE upstream or in Red Hat Bugzilla?
I have not found one.
  
-Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
No specific timelines.
  
-Is the sales team involved in this request and do they have any additional input?
Yes, sales in involved.  Current ongoing engagement with consultant on site.
  
-List any affected packages or components.
cfme-5.5.3.4-1.el7cf.x86_64
cfme-appliance-5.5.3.4-1.el7cf.x86_64

Comment 6 Greg Scott 2017-10-24 14:04:09 UTC
Looks like we can close this RFE.  Here's an extract from the relevant support case comment:

"Team,

I think this case can be closed. There are 3 groups created in CF for
governance reporting and other governance tasks. ..."