Bug 1408223

Summary: Hosts reports can be viewed only by administrator.
Product: Red Hat Satellite Reporter: Konstantin Trufanov <ktrufano>
Component: ReportingAssignee: Shlomi Zadok <szadok>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.6CC: aagrawal, bbuckingham, bkearney, cduryee, inecas, jammcder, jcallaha, ktordeur, ktrufano, mhulan, mirko.schmidt, oprazak, rakumar, rchauhan, sjagtap, sokeeffe, szadok
Target Milestone: UnspecifiedKeywords: PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/17831
Whiteboard:
Fixed In Version: rubygem-foreman_openscap-0.5.3.21-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1461404 (view as bug list) Environment:
Last Closed: 2017-06-20 17:53:14 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:
Attachments:
Description Flags
Arf_reports none

Description Konstantin Trufanov 2016-12-22 14:06:38 UTC
Description of problem:

User without administrator privileges are not able to view reports (Hosts --> Reports)


Version-Release number of selected component (if applicable):

6.2.6

Steps to Reproduce:
1. Add user, assign all permissions but doesn't set administrator flag on.
2. Log in and try to view reports.
3. No reports at all.

Actual results:

No reports

Expected results:

Able to see all reports

Comment 7 Shlomi Zadok 2016-12-22 15:25:13 UTC
Created redmine issue http://projects.theforeman.org/issues/17831 from this bug

Comment 9 Bryan Kearney 2016-12-22 17:08:38 UTC
Upstream bug assigned to szadok

Comment 10 Bryan Kearney 2016-12-22 17:08:41 UTC
Upstream bug assigned to szadok

Comment 13 Satellite Program 2017-02-15 09:09:05 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17831 has been resolved.

Comment 14 Marek Hulan 2017-05-05 07:40:13 UTC
*** Bug 1439601 has been marked as a duplicate of this bug. ***

Comment 16 Sanket Jagtap 2017-06-14 12:19:05 UTC
Build : Satellite 6.2.10 snap4

Was able to view the arf reports, without admin flag and compliance manager and viewer roles.

Also, the new permissions create_arf_reports, view_arf_reports, destroy_arf_reports work as intended.

Comment 18 Sanket Jagtap 2017-06-14 12:35:47 UTC
Created attachment 1287645 [details]
Arf_reports

Comment 19 Bryan Kearney 2017-06-20 17:53:14 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-2017:1553