Bug 1642623

Summary: SUI permissions not showing catalogs and not hiding snapshots menu
Product: Red Hat CloudForms Management Engine Reporter: Chris Hale <chhale>
Component: UI - ServiceAssignee: Oleg Barenboim <obarenbo>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.0CC: dmetzger, lavenel, obarenbo, simaishi, sshveta
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.22 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1649419 (view as bug list) Environment:
Last Closed: 2019-02-12 16:50:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1649419    

Description Chris Hale 2018-10-24 20:27:32 UTC
Description of problem:
Catalog explorer page would not load when the user had the permission to view catalogs.
Snapshots menu in VM details would render if a user had 0 applicable permissions.  
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Chris Hale 2018-10-24 20:43:59 UTC
GH PR - https://github.com/ManageIQ/manageiq-ui-service/pull/1484

Comment 3 Dave Johnson 2018-10-24 20:45:45 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 CFME Bot 2018-10-25 18:01:32 UTC
New commit detected on ManageIQ/manageiq-ui-service/hammer:

https://github.com/ManageIQ/manageiq-ui-service/commit/baa3b1cc7f37fb9446b51c86e946e7d5c9d790d0
commit baa3b1cc7f37fb9446b51c86e946e7d5c9d790d0
Author:     Allen Wight <allen.b.wight>
AuthorDate: Thu Oct 25 13:35:24 2018 -0400
Commit:     Allen Wight <allen.b.wight>
CommitDate: Thu Oct 25 13:35:24 2018 -0400

    Merge pull request #1484 from chalettu/sui-permissions-cleanup

    BZ# 1642623 - Fix permission related display issues

    (cherry picked from commit 04236dbc6f5f92201b58bc40f627a47b94004bcf)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1642623

 client/app/services/resource-details/resource-details.component.js | 4 +-
 client/app/states/catalogs/explorer/explorer.state.js | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

Comment 7 Shveta 2018-12-14 23:03:07 UTC
Working in 5.10.0.29.20181211195209_fd990a9.
User with no permissions cannot login in SUI and
user with permissions can view catalog explorer

Comment 9 Red Hat Bugzilla 2023-09-14 04:40:47 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days