Bug 1230347

Summary: RBAC: Configuration accordion misrendered for users having access to configuration feature
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: akarol, cpelland, dajohnso, hkataria, jhardy, jprause, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.4.1.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1222479 Environment:
Last Closed: 2015-07-30 13:11:32 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:
Bug Depends On: 1222479    
Bug Blocks:    

Comment 2 CFME Bot 2015-07-14 22:00:03 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=ceb6d5fe86ad926dc664be69105d3fe5fe353e18

commit ceb6d5fe86ad926dc664be69105d3fe5fe353e18
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Jun 4 17:11:54 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Jun 10 13:09:21 2015 -0400

    set appropriate active accordion based upon role_allows call.
    
    Set active_accord value inside if role_allows block for each type of accordion to match the active_tree, so correct right cell headers are displayed. Added spec test to verify the fix.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1224959
    (cherry picked from commit 8f453f7)
    https://bugzilla.redhat.com/show_bug.cgi?id=1230347

 vmdb/app/controllers/ops_controller.rb       | 17 ++++++++++-------
 vmdb/spec/controllers/ops_controller_spec.rb | 28 ++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 7 deletions(-)

Comment 3 CFME Bot 2015-07-14 22:01:30 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=71b9209822865ed90f22400d81f0ec08fda0e6da

commit 71b9209822865ed90f22400d81f0ec08fda0e6da
Merge: 1803d1f ceb6d5f
Author:     Dan Clarizio <dclarizi>
AuthorDate: Tue Jul 14 17:56:41 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Tue Jul 14 17:56:41 2015 -0400

    Merge branch '54z_bz_1230347' into '5.4.z'
    
    set appropriate active accordion based upon role_allows call.
    
    Set active_accord value inside if role_allows block for each type of accordion to match the active_tree, so correct right cell headers are displayed. Added spec test to verify the fix.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1224959
    (cherry picked from commit 8f453f7)
    https://bugzilla.redhat.com/show_bug.cgi?id=1230347
    
    PR: https://github.com/ManageIQ/manageiq/pull/3071
    
    @dclarizio please review, this is a clean cherry-pick
    
    See merge request !122

 vmdb/app/controllers/ops_controller.rb       | 17 ++++++++++-------
 vmdb/spec/controllers/ops_controller_spec.rb | 28 ++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 7 deletions(-)

Comment 5 Aziza Karol 2015-07-20 06:40:31 UTC
Verified:
5.4.1.0.20150717083323_6ed7e1c

Comment 7 errata-xmlrpc 2015-07-30 13:11:32 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://rhn.redhat.com/errata/RHBA-2015-1511.html