Bug 1446724

Summary: Standard user is unable to access "Red Hat Subscriptions" page
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: Subscription ManagementAssignee: David Davis <daviddavis>
Status: CLOSED ERRATA QA Contact: Brad Buckingham <bbuckingham>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.3CC: abalakht, ahumbe, aperotti, bbuckingham, daviddavis, dhlavacd, hmore, jcallaha, jomitsch, mhulan, mmccune, tomckay
Target Milestone: UnspecifiedKeywords: PrioBumpField, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/17757
Whiteboard:
Fixed In Version: katello-3.4.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1399725 Environment:
Last Closed: 2018-02-21 16:51:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1473212    
Bug Blocks: 1399395    
Attachments:
Description Flags
Upstream: Viewer Role shows Content, but not Red Hat Repositories none

Comment 2 Brad Buckingham 2017-08-16 10:50:59 UTC
Hi Marek,

Quick question on Viewer role.  In Satellite 6.3, if a user is assigned Org+Loc and has Viewer role, should they see the menus for Katello?

My assumption is 'yes'.  

Is there something that needs to be done in Katello to enable this?  (It is possible this is not yet in Satellite 6.3 SNAP 11.

Comment 3 Brad Buckingham 2017-08-16 10:56:09 UTC
Confirmed that on upstream Viewer role does include the 'Content' navigation; therefore, we have a missing commit downstream to enable it.

Also, there is a second issue in the upstream in that the Red Hat Repositories navigation is not included.

Moving to failed QA on Satellite 6.3 SNAP 11: satellite-6.3.0-16.0.beta.el7sat.noarch , tfm-rubygem-katello-3.4.4-1.el7sat.noarch

Comment 4 Brad Buckingham 2017-08-16 10:56:59 UTC
Created attachment 1314063 [details]
Upstream: Viewer Role shows Content, but not Red Hat Repositories

Comment 5 Satellite Program 2017-08-16 12:12:46 UTC
Upstream bug assigned to daviddavis

Comment 6 Marek Hulan 2017-08-17 09:30:10 UTC
Brad, it's known issue tracked at BZ 1473212, once Katello 3.4.5 is released and rebased into Satellite builds, you should see it.

Comment 7 Brad Buckingham 2017-08-24 20:07:56 UTC
Thanks Marek, I am going to place this back in POST based upon the status of bug 1473212 and also denote 'fixed in version' of katello-3.4.5.

Comment 8 Brad Buckingham 2017-09-06 12:14:22 UTC
Verified on Satellite 6.3 snap 14: satellite-6.3.0-17.0.beta.el7sat.noarch, tfm-rubygem-katello-3.4.5-1.el7sat.noarch

- create new user
- assign new user the 'Viewer' role
- log in as new user
- user has access to Content Menu and can access the Subscriptions page

- The issue mentioned in comment 3 does still exists, where the user cannot see the Content -> Red Hat Repositories page.  Since that is not part of the original bug description, I have created bug 1488893 to track resolution of that issue.

Comment 9 Satellite Program 2018-02-21 16:51:07 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.
> 
> https://access.redhat.com/errata/RHSA-2018:0336