Bug 2059576

Summary: non admin user with host_view permission is unable to look at old host details ui
Product: Red Hat Satellite Reporter: tstrych
Component: Users & RolesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: sganar
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: mhulan, oezr
Target Milestone: 6.11.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:34:01 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 tstrych 2022-03-01 11:37:00 UTC
Description of problem:
SSIA

Version-Release number of selected component (if applicable):
Sat 7.0 snap 9

How reproducible:
Always

Steps to Reproduce:
1. Create new user, add view_hosts role
2. Log in as new user

Actual results:
User can see the new host UI details, but not the old one

Expected results:
User can see both.

Additional info:
not a regression

Comment 1 Brad Buckingham 2022-03-03 19:01:37 UTC
Is it correct that in Satellite 6.10 a user with "view_hosts" is not able to view hosts from Hosts -> All Hosts -> [host] ?

Comment 2 tstrych 2022-03-04 15:12:02 UTC
Thanks for the question, Brad.
I made a mistake, this BZ is a regression. 
In 6.10.3 it is possible to view hosts from Hosts -> All Hosts -> [host] ?

Comment 5 Marek Hulan 2022-05-06 09:13:04 UTC
this is no longer an issue with recent snaps, old UI is enabled by default and user can switch between (tested with the user that has viewer role), moving to ON_QE to recheck and close

Comment 6 sganar 2022-05-16 08:02:38 UTC
Verified.

Tested on Satellite 6.11.0 Snap 20.0

Steps followed: 
1. Create new user, add view_hosts role
2. Log in as new user

Observation: 
User can switch to new Host UI if needed, old host UI is enabled by default

Comment 9 errata-xmlrpc 2022-07-05 14:34:01 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.11 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-2022:5498