Bug 1550736

Summary: unable to view quotas without manage quota permissoin being enabled in 5.8.2
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Landon LaSmith <llasmith>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, fdewaley, hkataria, igortiunov, lavenel, mpovolny, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1535556 Environment:
Last Closed: 2018-05-07 20:42:43 UTC Type: ---
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: 1535556    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-06 21:43:27 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/a3551dab791d39e1856fcf6a7fa7ec7cb6945ef4
commit a3551dab791d39e1856fcf6a7fa7ec7cb6945ef4
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Tue Jan 23 11:07:38 2018 -0500
Commit:     Alberto Bellotti <abellotti.github.com>
CommitDate: Tue Jan 23 11:07:38 2018 -0500

    Merge pull request #283 from jntullo/quota_product_features

    Allow read-only access to quotas subcollection
    (cherry picked from commit 9f9f4ee94265c35dff43392725517dca19ac7d48)

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

 config/api.yml | 17 +-
 spec/requests/tenant_quotas_spec.rb | 4 +-
 2 files changed, 18 insertions(+), 3 deletions(-)

Comment 4 Landon LaSmith 2018-03-27 14:26:54 UTC
VERIFIED in 5.9.2

I was able to copy the EVMRole-tenant_quota_administrator role, disable Settings -> Configuration -> Access Control -> Tenants -> Modify -> Manage Quotas and still view quotas when the "Manage Quotas" button was no longer available.

Comment 7 errata-xmlrpc 2018-05-07 20:42:43 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