Bug 1232419 - User doesn't get the UserVmManager permission on a VM
Summary: User doesn't get the UserVmManager permission on a VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.5.4
Assignee: Shmuel Melamud
QA Contact: Ondra Machacek
URL:
Whiteboard: virt
Depends On: 1121144
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-16 17:28 UTC by rhev-integ
Modified: 2015-09-06 17:09 UTC (History)
18 users (show)

Fixed In Version: vt16.1
Doc Type: Bug Fix
Doc Text:
Cause: If a VM was created using Admin Portal UI or using REST API with "Filter: false", the user that created the VM was never given ownership of it. Consequence: It was OK for admin users, because they can set ownership afterwards. But regular user having ReadOnlyAdmin (to give access to Admin Portal) and PowerUser permission can create VMs from Admin Portal UI, but cannot access it after that. Similar problem existed with REST API. Fix: New rule was introduced: users without admin rights are always given permission to manage the VM if they have permission to create it. Result: The behaviour has been changed only for regular users without admin rights that create VMs using Admin Portal or REST API with "Filter: false" (which is treated like usage of Admin Portal). Now they are always given ownership of the VMs they've created. In other cases the behaviour is still the same. For VMs created using User Portal or with REST API with "Filter: true" the ownership is always given to the creator - regular users and admin users are treated equally. For VMs created by admin users using Admin Portal or with REST API with "Filter: false" the ownership is not given to the creator, because admin users are typically using Admin Portal to create VMs for others.
Clone Of: 1121144
Environment:
Last Closed: 2015-09-06 17:09:02 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 42392 0 master MERGED core: Make regular user owner of VMs he created Never
oVirt gerrit 42538 0 ovirt-engine-3.5 MERGED core: Make regular user owner of VMs he created Never

Comment 1 Eyal Edri 2015-09-06 17:09:02 UTC
RHEV 3.5.4 Released. closing current release.


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