Bug 1317837

Summary: Problems with lifecycle env list when using role for view only
Product: Red Hat Satellite Reporter: Kenny Tordeurs <ktordeur>
Component: Users & RolesAssignee: Eric Helms <ehelms>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.7CC: bbuckingham, bkearney, dgross, egolov, jcallaha, mlele, tbrisker, thomas.betrancourt
Target Milestone: UnspecifiedKeywords: FieldEngineering, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.151-1, tfm-rubygem-katello-3.0.0.151-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1480354 (view as bug list) Environment:
Last Closed: 2017-09-25 18:59:44 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
role_filter
none
lifecycle-env
none
lc-env postfix
none
lc-env-postfix-6.2 none

Description Kenny Tordeurs 2016-03-15 10:29:57 UTC
Created attachment 1136505 [details]
role_filter

Description of problem:
A user with a role assigned that allows to view some resources, like Lifecycle environments

There are two problems on the Lifecycle environments list page:

1)  "Add New Environment" buttons are displayed but when we click on them, you get a 403 error => a display issue.

2)  Environment names are not displayed in tables.


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

How reproducible:
100%

Steps to Reproduce:
1. Define a user role which is alloed to view lifecycle env
2. Visit the lifecycle env page
3.

Actual results:
1) Seeing the add lifecycle env buttons
2) not displaying the lifecycle env names

Expected results:
1) Not seeing the add lifecycle env buttons
2) displaying the lifecycle env names

Additional info:

Comment 1 Kenny Tordeurs 2016-03-15 10:30:23 UTC
Created attachment 1136506 [details]
lifecycle-env

Comment 2 Bryan Kearney 2016-04-27 19:18:28 UTC
Upstream bug assigned to ehelms

Comment 3 Bryan Kearney 2016-04-27 19:18:30 UTC
Upstream bug assigned to ehelms

Comment 4 Bryan Kearney 2016-05-10 20:17:59 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/13905 has been closed

Comment 6 Peter Ondrejka 2016-11-21 13:26:09 UTC
Created attachment 1222395 [details]
lc-env postfix

Verified in Sat 6.3 snap 6, user with aforementioned permissions can view lc environments as expected and no add buttons appear (see attached screenshot)

Comment 7 Brad Buckingham 2017-02-27 20:30:56 UTC
*** Bug 1420511 has been marked as a duplicate of this bug. ***

Comment 9 Tomer Brisker 2017-08-01 11:01:53 UTC
*** Bug 1372737 has been marked as a duplicate of this bug. ***

Comment 11 Peter Ondrejka 2017-08-28 15:21:15 UTC
Created attachment 1319119 [details]
lc-env-postfix-6.2

Comment 12 Peter Ondrejka 2017-08-28 15:22:14 UTC
Verified on satellite-6.2.12-1.0.el7sat.noarch, see attached screenshot

Comment 14 errata-xmlrpc 2017-09-25 18:59:44 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/RHBA-2017:2803