Bug 1657939

Summary: Set Ownership over multiple items resets user/group
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED ERRATA QA Contact: Antonin Pagac <apagac>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.5CC: bmidwood, cpelland, hkataria, lavenel, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.7.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1657260 Environment:
Last Closed: 2019-01-23 14:35:55 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: 1657260    
Bug Blocks:    

Comment 1 CFME Bot 2018-12-14 18:26:32 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/3239ca073c8d13bcf707215adb0393078198a2f5
commit 3239ca073c8d13bcf707215adb0393078198a2f5
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Mon Dec 10 03:51:49 2018 -0500
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Mon Dec 10 03:51:49 2018 -0500

    Merge pull request #5064 from himdel/ownership

    Fix multi-target Set Ownership

    (cherry picked from commit 91bacce0abaad57424741dcff4653133e2f0b352)

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

 app/controllers/mixins/actions/vm_actions/ownership.rb | 13 +-
 spec/controllers/vm_infra_controller_spec.rb | 14 +
 2 files changed, 21 insertions(+), 6 deletions(-)

Comment 2 Antonin Pagac 2019-01-08 13:10:09 UTC
Verified with 5.9.7.0.

Setting group ownership for multiple items now leaves the user ownership untouched and vice-versa.

Comment 4 errata-xmlrpc 2019-01-23 14:35:55 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:0110