Bug 1763860

Summary: RBAC: User unable to retire the service when role is EVMRole-user_self_service
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.3CC: bmidwood, dmetzger, duhlmann, hkataria, lavenel, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.12   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.12.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1699943 Environment:
Last Closed: 2019-11-06 08:58:35 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: 1699943    
Bug Blocks:    

Comment 2 CFME Bot 2019-10-21 20:17:16 UTC
New commit detected on ManageIQ/manageiq-api/hammer:

https://github.com/ManageIQ/manageiq-api/commit/258310204c7541f1a64c6c298fbe63b2401480f6
commit 258310204c7541f1a64c6c298fbe63b2401480f6
Author:     Gregg Tanzillo <gtanzillo>
AuthorDate: Fri May 31 15:59:25 2019 -0400
Commit:     Gregg Tanzillo <gtanzillo>
CommitDate: Fri May 31 15:59:25 2019 -0400

    Merge pull request #599 from d-m-u/removing_approval_check_from_retire_request_call

    Fix API retirement identifiers and role checking

    (cherry picked from commit 1e1279045843c90448f5ac205beaa4b591eed494)

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

 app/controllers/api/base_controller/generic.rb | 18 +-
 config/api.yml | 6 +-
 spec/requests/services_spec.rb | 18 +-
 spec/requests/vms_spec.rb | 30 +-
 4 files changed, 16 insertions(+), 56 deletions(-)

Comment 3 Niyaz Akhtar Ansari 2019-10-25 06:02:24 UTC
Verified in Version 5.10.12.1.20191022171907_f883bde

Comment 5 errata-xmlrpc 2019-11-06 08:58:35 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/RHBA-2019:3268