Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1194272

Summary: [RFE] finer grained user permissions/roles on snapshots and live storage migration
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: RFEsAssignee: Maor <mlipchuk>
Status: CLOSED ERRATA QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: amureini, audgiri, ecohen, gklein, iheim, jentrena, juwu, lpeer, lsurette, mlipchuk, oourfali, pablo.iranzo, pdwyer, rbalakri, scohen, yeylon, ylavi
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: 3.5.1Flags: sherold: Triaged+
Hardware: All   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, administrators can not define explicit permissions for users on who can use live storage migration. With this update, a new permission called DISK_LIVE_STORAGE_MIGRATION which will be part of DISK_STORAGE_MANIPULATION was introduced so administrators can manipulate which users will be able to use live storage migration and which can not.
Story Points: ---
Clone Of: 1111095 Environment:
Last Closed: 2015-04-28 18:47:32 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: 1111095    
Bug Blocks: 1193058, 1197441    

Comment 3 Allon Mureinik 2015-03-08 11:12:11 UTC
Maor, please provide doctext for this bug (and the 3.6.0 too, while you're at it).

Comment 4 Kevin Alon Goldblatt 2015-03-11 14:16:42 UTC
Verified with 3.5.1 vt14
After discussing the required steps to reproduce this scenario with Maor I ran the following scenario:


Positive Flow:
---------------
As user 'admin':
Created VM with 2 block disks
Started the VM
Created a new user
Assigned storageAdmin permissions to the user
Logged out as user 'admin' and logged in as the new user
From the VM->Disks tab selected both block disks and moved them from the current storage domain to a new domain. The operation was successfull indicating that the user had all relevant permissions.


Negative Flow:
---------------
As user 'admin':
Created VM with 2 block disks
Started the VM
Created a new user
Assigned diskCreator, diskOperator userInstanceManager and VMPoolAdmin permissions to the user
Logged out as user 'admin' and logged in as the new user
From the VM->Disks tab selected both block disks and attempted to move them from the current storage domain to a new domain. The operation FAILED with:
"Operation Canceled.  Error while executing action: User is not authorized to perform this action"


Moving to Verified!

Comment 5 errata-xmlrpc 2015-04-28 18:47:32 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://rhn.redhat.com/errata/RHSA-2015-0888.html