Bug 1651981

Summary: view_subscription filter does not allow subscriptions to be viewed
Product: Red Hat Satellite Reporter: Djebran Lezzoum <dlezzoum>
Component: Subscription ManagementAssignee: Jonathon Turel <jturel>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: abalakht, jturel, zhunting
Target Milestone: 6.5.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Fixed In Version: tfm-rubygem-katello- Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:39:03 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:

Comment 3 Andrii Balakhtar 2018-11-27 09:27:39 UTC
By the way, that "404 Not Found" error is shown even for admin user, and admin user is able to see subscriptions.

Comment 4 Jonathon Turel 2018-12-14 19:16:39 UTC
Created redmine issue https://projects.theforeman.org/issues/25699 from this bug

Comment 5 Bryan Kearney 2019-01-07 21:13:21 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25699 has been resolved.

Comment 9 jcallaha 2019-01-16 21:51:31 UTC
Verified in Satellite 6.5.0 Snap 11

Created a new role that only has permission to view subscriptions

created a new user who's only role is that one

Logged in with new user and navigated to the subscriptions page.

The page rendered correctly and the user was able to successfully view all subscriptions aligned with that organization.

Comment 12 errata-xmlrpc 2019-05-14 12:39:03 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.