Bug 1311995

Summary: Web-UI:rbac:Clicking on Users or Groups with restricted role user throws "undefined method `where' for #<Array:0x000000057a2510> [ops/tree_select]" error.
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, dajohnso, hkataria, jhardy, jprause, mfeifer, mpovolny, obarenbo, rananda
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rbac:ui:error
Fixed In Version: 5.5.3.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1311399 Environment:
Last Closed: 2016-04-13 18:44:53 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: 1311399    
Bug Blocks:    

Comment 3 CFME Bot 2016-02-26 20:12:12 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=f91c73d4b6720192c64dd6c16efae9c123b46bd4

commit f91c73d4b6720192c64dd6c16efae9c123b46bd4
Merge: e2c7013 65c45b4
Author:     Dan Clarizio <dclarizi>
AuthorDate: Fri Feb 26 14:52:15 2016 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Feb 26 14:52:15 2016 -0500

    Merge branch '55z_bz_1311995' into '5.5.z'
    
    Fix list of group and user with self_service user
    
    Self service user means that user's role has option
    "VM & Template Access Restriction" set up to "Only User Owned" or
    "Only User or Group Owned"
    (cherry picked from commit 978efcb)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1311995
    https://bugzilla.redhat.com/show_bug.cgi?id=1311399
    
    @dclarizi please review, this is cherry pick of commit 978efcbb50a5a80a303146ba19aa669ed42d607c from https://github.com/ManageIQ/manageiq/pull/6437
    
    See merge request !816

 app/models/rbac.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comment 5 Milan Falešník 2016-03-29 15:37:18 UTC
Verified in 5.5.3.2, no error happens when logging in as such created user.

Comment 7 errata-xmlrpc 2016-04-13 18:44:53 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-2016:0616