<p dir="ltr">Can you assign a specific user the power user role that has no VMS assigned to them? Can that user login?</p>
<div class="gmail_quote">On Jun 30, 2015 6:32 PM, &quot;David Smith&quot; &lt;<a href="mailto:dsmith@mypchelp.com">dsmith@mypchelp.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The users are attempting to log in via the user portal when they get the error.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 3:28 PM, Donny Davis <span dir="ltr">&lt;<a href="mailto:donny@cloudspin.me" target="_blank">donny@cloudspin.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">The power user role covers login, so that is not your problem.  Is this on the user portal or webadmin?</p><div><div>
<div class="gmail_quote">On Jun 30, 2015 6:20 PM, &quot;David Smith&quot; &lt;<a href="mailto:dsmith@mypchelp.com" target="_blank">dsmith@mypchelp.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I used the &quot;everyone&quot; user at the data center level and added the permissions/role of &quot;PowerUserRole&quot;<div><br></div><div>What other permission/role are you saying I should assign?</div><div><br></div><div>Unfortunately we aren&#39;t using an &quot;ldap group&quot; so there&#39;s nothing to assign to an ldap group-- the users are filtered in such a manner that if they auth and get through the filter they should have access.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 3:16 PM, Donny Davis <span dir="ltr">&lt;<a href="mailto:donny@cloudspin.me" target="_blank">donny@cloudspin.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Add login permissions only at the data center for the group.  This allows them to login, but not view anything. You have to create custom permission to do what you are looking for. </p><div><div>
<div class="gmail_quote">On Jun 30, 2015 6:13 PM, &quot;David Smith&quot; &lt;<a href="mailto:dsmith@mypchelp.com" target="_blank">dsmith@mypchelp.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Correct, each user has their own VMs. Only a few share VMs (those permissions are assigned manually)<div><br></div><div>The issue is that when they have 0 VMs assigned to them, the system throws the login error that they&#39;re not authorized, at least until I add a placeholder VM so they can log in and set themselves up.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 3:09 PM, Donny Davis <span dir="ltr">&lt;<a href="mailto:donny@cloudspin.me" target="_blank">donny@cloudspin.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">You are looking for this to look like its multi tenant?</p>
<p dir="ltr">I setup CloudSpin to do exactly that. Each user can only see their own VMS. <br>
Do I have your question correct?</p>
<p dir="ltr">Donny D</p>
<div class="gmail_quote"><div><div>On Jun 30, 2015 5:27 PM, &quot;David Smith&quot; &lt;<a href="mailto:dsmith@mypchelp.com" target="_blank">dsmith@mypchelp.com</a>&gt; wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">version 3.5.2-1.el6<br><div>using ldap authz; this piece is working OK, and verified OK.</div><div><br></div><div>I use the &quot;Everyone&quot; user to provide default permissions; that includes PowerUserRole for the data center, a bunch of usertemplatebasedVMs, some VnicProfileUser, DiskProfileUser, etc.</div><div><br></div><div>I add a new user in LDAP; and verify LDAP credentials work (ie, log in to another system that uses the same ldap server)<br></div><div>LDAP confirmed working for *other* ovirt users-- not an LDAP issue as far as I can tell.</div><div><br></div><div>I do *not* specifically add each LDAP user to oVirt, they&#39;re added to &quot;groups&quot; in LDAP, so if they have the right group, they should be able to authenticate to oVirt and use the system without me adding each user individually.</div><div><br></div><div>In any case the narrowed down problem is this:</div><div>If the user doesn&#39;t have permissions (UserRole, etc) for *any* VMs, instead of logging in and getting a blank VM list, they get &quot;User is not authorized to perform this action.&quot;</div><div><br></div><div>If I add that specific user to a test placeholder VM, they can log in. Once they have a VM created, I can erase their user-specific permissions to that initial test VM and everything works as expected. They are able to log in, create VMs, etc.</div><div><br></div><div>If I remove all permissions for VMs from a user, they get this error.</div><div><br></div><div>Expected behavior:</div><div>User without any permissions to any VMs should simply get a blank VM list on login. That way they can create a VM and go from there.</div><div><br></div><div>Thanks for any help/suggestions,</div><div>David</div></div>
<br></div></div>_______________________________________________<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/listinfo/users</a><br>
<br></blockquote></div>
</blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>