Bug 1936878

Summary: Filter out hits for unauthorized hosts
Product: Red Hat Satellite Reporter: Shimon Shtein <sshtein>
Component: RH Cloud - InventoryAssignee: Shimon Shtein <sshtein>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: aruzicka, pcreech
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.0.18 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:26:15 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:

Description Shimon Shtein 2021-03-09 12:00:54 UTC
Currently we are displaying hits, and if the user is not authorized, host name column remains empty.

We need to filter those hits out entirely.

Comment 1 Jameer Pathan 2021-03-16 11:45:24 UTC
Verified

Verified with:
- Satellite 6.9.0 snap 17
- tfm-rubygem-foreman_rh_cloud-3.0.18-1.el7sat.noarch

Test steps:
- Have hosts with Insights recommendations in different org.
- Go to Configure > Insights
- Change organization
 
Observations:
- Insights recommendations are displayed only for the hosts present in that organization.
- No Insights recommendations with empty hostname column.

Comment 4 errata-xmlrpc 2021-04-21 13:26:15 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 (Moderate: Satellite 6.9 Release), 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/RHSA-2021:1313