Bug 1634032

Summary: To be able to add and create reports, the edit report role is needed.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Antonin Pagac <apagac>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.4CC: abellott, dmetzger, hkataria, lavenel, mpovolny, obarenbo, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.5.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1631892 Environment:
Last Closed: 2018-11-05 13:59:40 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: 1631892    
Bug Blocks:    

Comment 3 CFME Bot 2018-09-28 15:18:50 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/640f883e62261aa3df7e93c0905261f5bd750f67
commit 640f883e62261aa3df7e93c0905261f5bd750f67
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Sep 27 14:04:22 2018 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Thu Sep 27 14:04:22 2018 -0400

    Merge pull request #4699 from h-kataria/report_editor_rbac_check_fixed

    Fixed code to check for correct RBAC feature when adding/editing report

    (cherry picked from commit e1897a0e06d84ab4ca370dc4c4254aa6fb42f159)

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

 app/controllers/report_controller/reports/editor.rb | 47 +-
 spec/controllers/miq_report_controller/reports/editor_spec.rb | 44 +-
 2 files changed, 65 insertions(+), 26 deletions(-)

Comment 5 Antonin Pagac 2018-10-12 08:14:29 UTC
Verified with 5.9.5.1.

Can copy/add report without the Edit report role enabled.

Comment 7 errata-xmlrpc 2018-11-05 13:59:40 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:3466