Bug 869699

Summary: When a VM is created using the user-level API, no permissions are set on it thus, the user can't see it in the user portal and the user-level API
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engineAssignee: Oved Ourfali <oourfali>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, iheim, lpeer, mpastern, ofrenkel, oourfali, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: si23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ondra Machacek 2012-10-24 15:18:19 UTC
Description of problem:


Version-Release number of selected component (if applicable):
si21

How reproducible:
always

Steps to Reproduce:
1. As admin assign a user 'VmCreator' role.
2. via API create VM as user.
  
Actual results:
For newly created VM user is not UserVmManager.

Expected results:
User is UserVmManager on newly created VM.

Additional info:
Behaviour should be same as is in UserPortal. User is creating VM for himself so he should became also UserVmManager.

Comment 1 Oved Ourfali 2012-10-25 07:40:17 UTC
Commit: ab67c32601f477b099e7167d2554a908c1bebe5a

http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=ab67c32601f477b099e7167d2554a908c1bebe5a