Bug 1569170

Summary: Help Documentation is only visible to users with super admin role
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED ERRATA QA Contact: Landon LaSmith <llasmith>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: aperotti, cpelland, dhalasz, hkataria, lavenel, mpovolny, myoder, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1563241 Environment:
Last Closed: 2018-07-12 13:14:16 UTC Type: ---
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: 1563241    
Bug Blocks: 1561041    

Comment 2 CFME Bot 2018-04-19 13:37:59 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/19876412666ff361a5b88e6d44a41a01ac073ec6
commit 19876412666ff361a5b88e6d44a41a01ac073ec6
Author:     Martin Povolny <mpovolny>
AuthorDate: Sun Apr  8 14:56:20 2018 -0400
Commit:     Martin Povolny <mpovolny>
CommitDate: Sun Apr  8 14:56:20 2018 -0400

    Merge pull request #3728 from skateman/rbac-help-menu-support

    Restrict the Help->Documentation screen based on RBAC rules only
    (cherry picked from commit 7e2fffe4334b0a4758cb9dab29fffa8e3b97ff2c)

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

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

Comment 3 Landon LaSmith 2018-04-30 13:08:13 UTC
Kicking this back because you can't see the PDF documents when using a custom role with Help->Documentation enabled even if when copying EvmRole-super_administrator.  If I create a new user and assign them to the default EvmGroup-super_administrator, I can see the PDF docs. 
 
VERSION: 5.9.2.3

Comment 6 CFME Bot 2018-05-03 13:23:54 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/b1a79fae8f3f8e186cbf6f5344ef24318cff419b
commit b1a79fae8f3f8e186cbf6f5344ef24318cff419b
Author:     Dávid Halász <dhalasz>
AuthorDate: Wed May  2 12:17:11 2018 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Wed May  2 12:17:11 2018 -0400

    Validate Help->Documentation screen against the documentation feature

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

 app/controllers/support_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 CFME Bot 2018-05-14 20:37:22 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/cd57a6ab3b753877b3a6f43287ca8b238a90fa47
commit cd57a6ab3b753877b3a6f43287ca8b238a90fa47
Author:     Martin Povolny <mpovolny>
AuthorDate: Thu May  3 09:14:29 2018 -0400
Commit:     Martin Povolny <mpovolny>
CommitDate: Thu May  3 09:14:29 2018 -0400

    Merge pull request #3882 from skateman/fix-rbac-about

    Validate Help->Documentation screen against the documentation feature
    (cherry picked from commit 2b4ec4c82fa3cb4d191ec156a87acc0229ee3034)

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

 app/controllers/support_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 8 Landon LaSmith 2018-05-29 16:56:25 UTC
VERIFIED in 5.9.3. I was able to access the documentation as a non-admin user when assigned to a copied super admin role, new role w/ Help-> Documentation enabled or the default EvmRole-super_administrator

Comment 12 errata-xmlrpc 2018-07-12 13:14:16 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-2018:2184