<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 15, 2017 at 11:36 PM, Peter Wood <span dir="ltr">&lt;<a href="mailto:peterwood.sd@gmail.com" target="_blank">peterwood.sd@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have a group of local users with permissions to create VMs, templates, and VMs from templates. They are allowed to work only in one of the clusters in the datacenter.</div><div><br></div><div>Now I want one of the local users to be able to import VMs and convert them into templates and I just can&#39;t find the recipe for that.</div><div><br></div><div>The group has these permissions:</div><div><br></div><div>LocalUsersGroup -&gt; [PowerUserRole] -&gt; DEV1 (Cluster)</div><div>LocalUsersGroup -&gt; [PowerUserRole] -&gt; SAN (Storage)<br></div><div>LocalUsersGroup -&gt; [TemplateCreator] -&gt; OFFICE (Datacenter)<br></div><div><br></div><div>LocalUserA is part of LocalUsersGroup and should be able to:</div><div>  - Import a VM</div><div>  - Convert the VM to a template for everyone to use</div><div>  - Delete the VM</div><div><br></div><div>I tried this: LocalUserA -&gt; [VmImporterExporter] -&gt; System</div><div><br></div><div>LocalUserA can now import VMs and convert them to templates but it can&#39;t delete the imported VMs. For some reason [UserVmManager] role is not assigned to LocalUserA on the VMs that were imported.</div></div></blockquote><div><br></div><div>Right, that seems to be a bug. The import operation should set the user that executes it with UserVmManager role on the imported VM, just like add VM does for regular VM creation.</div><div>Could you please file a bug?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Before I start messing around I&#39;d appreciate somebody&#39;s else opinion on how this should be done.</div><div> <br></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div>Thank you for your time,</div><div><br></div><div>-- Peter</div><div><br></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div></div>