Bug 2212499

Summary: Unable to Manage Columns on 'All Hosts' Page of Satellite 6.13 using non-admin users.
Product: Red Hat Satellite Reporter: Akshay Kapse <akapse>
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.13.0CC: ahumbe, aruzicka, mhulan, oezr, rlavi, zhunting
Target Milestone: 6.15.0Keywords: 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: 2024-04-23 17:11:20 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 Akshay Kapse 2023-06-05 17:35:51 UTC
Description of problem:

Non-Admin Users cannot Manage Columns on 'All Hosts' Page of Satellite 6.13, no matter which roles has been assigned to them.

The same user will be able to Manage Column, when you mark the user as "ADMIN".


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

How reproducible:
100 %

Steps to Reproduce:
1. Create a user "NA-USER" on Satellite GUI but don't mark it as Admin.

2. Assign all the Roles to the user "NA-USER" but don't mark it as "Admin" and then try to Manage (Enable/Disable) Columns on 'All Hosts' page.

3. After clicking on "Save" button it just stays in the same position, no loading of page, no changes.



Actual results:
- Unable to save the changes made under "Manage Columns".

Expected results:
- Should be able to save the changes made under "Manage Columns".


Additional info:
If I mark the same user as Admin, it will be able to apply the changes.

Comment 1 Adam Ruzicka 2023-06-07 09:10:04 UTC
Only one of the PRs linked to the upstream issue landed in 6.13, we still need to pick https://github.com/theforeman/foreman/pull/9545 . 6.14 and newer seem to already have all the patches.

Comment 3 Pavel Novotny 2024-01-08 12:19:49 UTC
Verified in Satellite 6.15 snap 5:
satellite-6.15.0-2.el8sat.noarch

Non-admin users can also save the hosts table column preferences.

Comment 6 errata-xmlrpc 2024-04-23 17:11:20 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 (Important: Satellite 6.15.0 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-2024:2010