Bug 1563241

Summary: Help Documentation is only visible to users with super admin role
Product: Red Hat CloudForms Management Engine Reporter: Ryan Spagnola <rspagnol>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Landon LaSmith <llasmith>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, hkataria, lavenel, mpovolny, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1569170 1569171 (view as bug list) Environment:
Last Closed: 2019-02-11 14:05:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1569170, 1569171    

Description Ryan Spagnola 2018-04-03 12:32:33 UTC
Description of problem:
Only super_admin role can see the PDFs provided in the documentation page

Expected all user to be able to see these links in addition to the the custom support url.

Would be useful if these documents were visible/hidden via a role feature.

Additionally it would be great if we could customize the documentation page with more than a URL.


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

How reproducible:
Always

Steps to Reproduce:
1. Click help icon in top right corner of UI
2. Click Documentation
3.

Actual results:
Only super_admin role can see the PDFs provided

Expected results:
help documents should be available or at least limited on what the logged in users roles allow access to

Additional info:
Same issue exists in the self service portal

Comment 5 CFME Bot 2018-04-08 18:56:39 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/9aa897b2791c02664fc3acf1a3493df9e9a4177f
commit 9aa897b2791c02664fc3acf1a3493df9e9a4177f
Author:     Dávid Halász <dhalasz>
AuthorDate: Fri Apr  6 05:13:37 2018 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Fri Apr  6 05:13:37 2018 -0400

    Restrict the Help->Documentation screen based on RBAC rules only

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

 app/controllers/support_controller.rb | 5 +
 app/views/support/show.html.haml | 43 +-
 2 files changed, 25 insertions(+), 23 deletions(-)

Comment 9 Landon LaSmith 2018-06-29 14:54:24 UTC
VERIFIED in 5.10.0.2. I was able to view the documentation PDF's with a user assigned to the default and a duplicate super admin group and modified admin & user groups with access to Help->Documentation