Bug 1553776 - Role inconsistency with privileges when creating reports and setting chargeback filters
Summary: Role inconsistency with privileges when creating reports and setting chargeba...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting
Version: 5.8.0
Hardware: All
OS: All
high
medium
Target Milestone: GA
: 5.9.2
Assignee: Libor Pichler
QA Contact: Landon LaSmith
URL:
Whiteboard:
Depends On: 1544875
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-09 14:17 UTC by Satoe Imaishi
Modified: 2022-07-09 09:33 UTC (History)
3 users (show)

Fixed In Version: 5.9.2.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1544875
Environment:
Last Closed: 2018-05-07 20:45:33 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 0 None None None 2018-05-07 20:46:01 UTC

Comment 2 CFME Bot 2018-03-09 14:32:27 UTC
New commits detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/37471e6278ae5e05568fb6902b64f965ab316fac
commit 37471e6278ae5e05568fb6902b64f965ab316fac
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Wed Mar  7 09:29:48 2018 -0500
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Wed Mar  7 09:29:48 2018 -0500

    Merge pull request #17061 from lpichler/add_tenant_to_rbac_and_fix_user_and_miq_group

    Fix RBAC for User and enable tagging for Tenants
    (cherry picked from commit d31d9d76e40d1824f11d6d97902d24251e3c0207)

    https://bugzilla.redhat.com/show_bug.cgi?id=1553776
    https://bugzilla.redhat.com/show_bug.cgi?id=1553779

 app/models/miq_group.rb | 4 +-
 app/models/user.rb | 5 +-
 lib/rbac/filterer.rb | 6 +-
 spec/lib/rbac/filterer_spec.rb | 42 +-
 spec/lib/services/resource_sharer_spec.rb | 6 +-
 5 files changed, 42 insertions(+), 21 deletions(-)

Comment 3 CFME Bot 2018-03-09 14:48:07 UTC
New commits detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/f26b6ca8c9c15168cd7e530f995e384b49bad29e
commit f26b6ca8c9c15168cd7e530f995e384b49bad29e
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Thu Mar  8 04:22:26 2018 -0500
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Thu Mar  8 04:22:26 2018 -0500

    Merge pull request #3494 from lpichler/add_rbac_to_report_definition_on_users_and_tenants

    Access show cost by in chargeback report for restricted user
    (cherry picked from commit e81f74e044f121f39b6a6786baa6445e10cba2e0)

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

 app/controllers/report_controller/reports/editor.rb | 11 +-
 app/helpers/report_helper/editor.rb | 5 +
 spec/controllers/miq_report_controller/reports/editor_spec.rb | 20 +-
 3 files changed, 24 insertions(+), 12 deletions(-)

Comment 5 Landon LaSmith 2018-04-05 14:18:01 UTC
VERIFIED in 5.9.2. I was able to set the Report -> Chargeback Filters -> Owner with users that were under the default admin roles AND copied admin roles

Comment 8 errata-xmlrpc 2018-05-07 20:45:33 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:1328


Note You need to log in before you can comment on or make changes to this bug.