Bug 1229620 - Accordions won't be visible to a role, unless the role is allowed full access
Summary: Accordions won't be visible to a role, unless the role is allowed full access
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.5.0
Assignee: Milan Zázrivec
QA Contact: Thom Carlin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-09 09:20 UTC by Milan Zázrivec
Modified: 2015-12-08 13:17 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:17:19 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Milan Zázrivec 2015-06-09 09:20:06 UTC
Description of problem:
Accordions won't be visible to a role, unless the role is allowed full access

Version-Release number of selected component (if applicable):
CFME 5.4

How reproducible:
Always

Steps to Reproduce:

1. Create a role, group using that role and a user
   belonging to the created group.
2. As an admin, navigate to
   Configure -> Configuration -> Access Control -> Roles -> [the above role]
3. As an admin: Configure -> Edit this role
4. For Product Features, allow the role to view Catalogs, but not to modify them. 
5. Log in as the newly created user
6. Navigate to Services -> Catalogs

Actual results:
Although the user should be able to view catalogs, the catalogs accordion won't be rendered at all. 

Expected results:
User is able to view catalogs.

Additional info:
Same problem shows for other accordions under Services -> Catalogs

Comment 1 Milan Zázrivec 2015-06-09 09:28:36 UTC
https://github.com/ManageIQ/manageiq/pull/3000

Comment 3 CFME Bot 2015-06-09 13:45:15 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3b85befc10738c5f66084d6bda67c2954fee6701

commit 3b85befc10738c5f66084d6bda67c2954fee6701
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Wed May 27 11:47:04 2015 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Tue Jun 9 11:21:02 2015 +0200

    Fix rendering of accorions under Services -> Catalogs
    
    The trees need to be rendered (shown) in case the role in question
    has access to any of the child items under the top level accords.
    
    Fixes: #1655
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1229620

 vmdb/app/controllers/catalog_controller.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comment 5 Milan Falešník 2015-09-11 14:13:24 UTC
upstream 2015-08-31

Comment 6 Thom Carlin 2015-10-09 18:30:57 UTC
Verified in 5.5.0.5-beta1.1.20151007163855_ed40d96

Comment 8 errata-xmlrpc 2015-12-08 13:17:19 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-2015:2551


Note You need to log in before you can comment on or make changes to this bug.