Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2167947

Summary: Assign/Unassign Compliance policy to a host via user with only Viewer role keeps loading the screen instead of throwing Access/Permission denied message
Product: Red Hat Satellite Reporter: Jayant Bhatia <jbhatia>
Component: SCAP PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: visawant
Severity: low Docs Contact:
Priority: low    
Version: 6.13.0CC: lstejska, mhulan, oezr, sganar
Target Milestone: UnspecifiedKeywords: 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-03-20 20:26:50 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
Loading Screen Image none

Description Jayant Bhatia 2023-02-07 18:41:47 UTC
Description of problem:

While trying to assign/unassign compliance policy to a host via user which only have Viewer rights, the screen keeps loading instead of throwing Access/Permission denied message.  


Version-Release number of selected component (if applicable): satellite-6.13.0-4.el8sat.noarch


How reproducible: Always


Steps to Reproduce:

1. Create a new user (say 'testuser') on Satellite and assign only 'Viewer' role to it. Login using 'testuser' on Satellite.

2. Navigate to Satellite WebUI -> Hosts -> All Hosts -> Checkbox any host -> Select Action -> Click on "Assign Compliance Policy" or "Unassign Compliance Policy" or "Change OpenSCAP Capsule".


Actual results:

A new window opens with title "Assign Compliance Policy - The following hosts are about to be changed" or "Unassign Compliance Policy - The following hosts are about to be changed" or "Change OpenSCAP Capsule - The following hosts are about to be changed". The new window keeps loading forever.


Expected results:

An error related to Access/Permission denied should be shown as a user with Viewer role is trying to edit the host.


Additional info: Attaching screen image of the loading screen.

Comment 1 Jayant Bhatia 2023-02-07 18:42:50 UTC
Created attachment 1942774 [details]
Loading Screen Image

Comment 2 Brad Buckingham 2024-02-11 20:37:14 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team.  Thank you.

Comment 3 Brad Buckingham 2024-03-20 20:26:50 UTC
Thank you for your interest in Red Hat Satellite. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.