Bug 1965968

Summary: Since Satellite 6.8 it's not possible to remove subscriptions from 'WebUI --> Content --> Subscriptions' page if the user doesn't have 'Setting' permissions.
Product: Red Hat Satellite Reporter: Jan Senkyrik <jsenkyri>
Component: Subscription ManagementAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Cole Higgins <chiggins>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: lufu, mhulan, pcreech
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:28:57 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
pic1
none
pic2
none
pic3
none
pic4
none
pic5 none

Description Jan Senkyrik 2021-05-31 09:22:56 UTC
Description of problem:
- Since Satellite 6.8 it's not possible to remove subscriptions from 'WebUI --> Content --> Subscriptions' page if the user doesn't have 'Setting' permissions. The checkbox using which you can select subscriptions is missing.

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

How reproducible:
- Always

Steps to Reproduce:
- Create a role and assign 'Organization', 'Location' and 'Subscription' permissions. [without_setting1.png]
- Associate the role with a user. [without_setting2.png]
- Login as this user and navigate to 'Subscriptions' page. The checkboxes next to each subscription are missing. [without_setting3.png]
- Add 'Setting' permission to the role. [with_setting1.png]
- Login as the user and navigate to 'Subscriptions' page. The checkboxes are present and you can select subscriptions. [with_setting2.png]


Additional info:
- It was not necessary to have permissions from 'Setting' resource in Satellite 6.7. Is this expected?


Thanks in advance for your feedback.

Kind regards,
Jan

Comment 1 Jan Senkyrik 2021-05-31 09:24:52 UTC
Created attachment 1788189 [details]
pic1

Comment 2 Jan Senkyrik 2021-05-31 09:25:19 UTC
Created attachment 1788190 [details]
pic2

Comment 3 Jan Senkyrik 2021-05-31 09:25:41 UTC
Created attachment 1788191 [details]
pic3

Comment 4 Jan Senkyrik 2021-05-31 09:26:02 UTC
Created attachment 1788192 [details]
pic4

Comment 5 Jan Senkyrik 2021-05-31 09:26:30 UTC
Created attachment 1788193 [details]
pic5

Comment 6 Lucy Fu 2021-06-21 20:33:19 UTC
Hi Jan,

What mode is the server in, connected or disconnected when checkbox column is missing?
Thanks.

Comment 7 Jan Senkyrik 2021-06-22 09:54:19 UTC
Hi Lucy,

I've done my tests on Satellite in disconnected mode.

Thanks,
Jan

Comment 8 Jan Senkyrik 2021-06-22 09:55:01 UTC
Sorry I meant to say in connected mode.

Comment 9 Lucy Fu 2021-06-22 12:13:17 UTC
Hi Jan,

Could I access your testing environment? 
I can't re-produce the issue locally with connected mode server following your steps.

Comment 10 Lucy Fu 2021-06-28 14:59:43 UTC
Any update? Is the issue still valid?

Comment 11 Jan Senkyrik 2021-07-02 15:09:01 UTC
Hi Lucy,

Apologies for the delay. The issue is still valid, I've sent you the reproducer details over email.

Thanks & Kind regards,
Jan

Comment 12 Lucy Fu 2021-07-12 21:15:02 UTC
Created redmine issue https://projects.theforeman.org/issues/33000 from this bug

Comment 13 Maria 2021-08-26 10:05:00 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33000 has been resolved.

Comment 18 errata-xmlrpc 2022-07-05 14:28:57 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