Bug #20327
closedConfiguration Management Reports csv export does not respect org/loc context
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1471947
Description of problem:
Did a CSV export via the UI of the configuration management report page. Set the filter to "eventful=false".
2 reports were listed (see the attached screenshot).
When I did the CSV export the resulting file had entries for all reports, including ones that did not belong to the "Default Organization", event though I was in this context.
Version-Release number of selected component (if applicable): 6.3.0
How reproducible: Always
Steps to Reproduce:
1. Create a host, and cause a puppet report to be generated.
2. Click "Export" button to export to CSV
Actual results: All Reports included in exported CSV
Expected results: Only the reports that are visible via the filter.
Additional info: Attached resulting CSV and screen shot, as well as foreman-debug