Bug 1323719

Summary: Self Service Portal shows incorrect sidebar data for non-admin users.
Product: Red Hat CloudForms Management Engine Reporter: Krain Arnold <krain>
Component: UI - OPSAssignee: Aparna Karve <akarve>
Status: CLOSED DUPLICATE QA Contact: Shveta <sshveta>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 5.6.0CC: hkataria, jhardy, krain, mpovolny, nachandr, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ssui
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-05 19:20:30 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:    
Bug Blocks: 1310121    
Attachments:
Description Flags
supplementary screenshot none

Description Krain Arnold 2016-04-04 13:44:21 UTC
Created attachment 1143356 [details]
supplementary screenshot

Description of problem: The sidebar of the self service portal shows the total number of services/requests/catalogs, instead of the number available to the user. The main window is set correctly per user permissions, causing a limited user to have incorrect numbers in the sidebar. 


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


How reproducible:


Steps to Reproduce:
1. Have a user that has access to less services than exist
2. Go to the self service portal
3. Compare the number of services/requests/catalogs to the number indicated in the sidebar

Actual results:
The number will vary

Expected results:
The numbers should be consistent

Additional info:
The attached screenshot demonstrates a user that has 2 services, although 10 exist and would be visible to an admin user. This error is consistent for services, requests, and catalogs.

Comment 3 Aparna Karve 2016-04-04 14:56:30 UTC
Is this on upstream or 5.5.z?
Can you provide your appliance IP so I can verify a few things.
Thanks.

Comment 4 Krain Arnold 2016-04-04 21:56:07 UTC
Sorry Aparna, this particular appliance is not publicly accessible. Version is 5.5.2.4.20160127105142_395c086
Thanks.

Comment 6 Aparna Karve 2016-04-05 19:20:30 UTC
Thanks, Krain.

I would say that 2 similar issues already exist that somewhat match the description in this BZ and are related to RBAC. 
One of them has already been fixed for Services and Service Catalogs.
The other one for Requests is currently being worked on.

https://bugzilla.redhat.com/show_bug.cgi?id=1298393
https://bugzilla.redhat.com/show_bug.cgi?id=1297974


Note that these are upstream fixes only and would not be back-ported to 5.5.z

In light of this information, I would like to close this BZ.

Thanks again,
Aparna

*** This bug has been marked as a duplicate of bug 1298393 ***