<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<img src="cid:part1.00030703.06000805@netbulae.eu" alt=""><br>
The only relevant things I see in the log are lots of these:<br>
<br>
2014-07-22 09:52:46,867 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-12)
Query execution failed due to insufficient permissions.<br>
2014-07-22 09:52:46,867 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-12)
Query execution failed due to insufficient permissions.<br>
2014-07-22 09:53:46,869 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.<br>
2014-07-22 09:53:46,869 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.<br>
2014-07-22 09:54:46,865 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-8)
Query execution failed due to insufficient permissions.<br>
2014-07-22 09:54:46,865 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-8)
Query execution failed due to insufficient permissions.<br>
<br>
2014-07-22 10:27:46,879 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:27:46,880 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:28:46,949 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-1)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:28:46,950 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-1)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:29:46,887 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-4)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:29:46,887 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-4)
Query execution failed due to insufficient permissions.<br>
<br>
2014-07-22 10:36:46,911 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-13)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:36:46,911 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-13)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:37:46,924 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-1)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:37:46,924 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-1)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:38:46,966 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-8)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:38:46,967 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-8)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:39:46,941 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.<br>
2014-07-22 10:39:46,942 ERROR
[org.ovirt.engine.core.bll.SearchQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.<br>
<br>
Kind regards,<br>
Jorick<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/22/2014 12:16 PM, Oved Ourfali
wrote:<br>
</div>
<blockquote
cite="mid:1525398115.11503503.1406024194831.JavaMail.zimbra@redhat.com"
type="cite">
<pre wrap="">Setting PowerUser for some user on System or on a DC should be enough to create VMs on it.
What error do you get?
Can you share your logs?
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">From: "Jorick Astrego" <a class="moz-txt-link-rfc2396E" href="mailto:j.astrego@netbulae.eu"><j.astrego@netbulae.eu></a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a>
Sent: Tuesday, July 22, 2014 12:26:38 PM
Subject: Re: [ovirt-users] user permissions
I had it set on the system (with the configure button) and the DC but
tried every combination I could think off.
Also created a new user type role with all the user permissions selected.
Kind regards,
Jorick Astrego
On 07/22/2014 11:16 AM, Oved Ourfali wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On what object did you assign the PowerUser role?
A permission consist of user+role+object.
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">From: "Jorick Astrego" <a class="moz-txt-link-rfc2396E" href="mailto:j.astrego@netbulae.eu"><j.astrego@netbulae.eu></a>
To: <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a>
Sent: Tuesday, July 22, 2014 11:43:43 AM
Subject: Re: [ovirt-users] user permissions
Hi,
Sorry let be a bit more clear. I want to have a user that can log into the
user portal and create vm's, stop them, add disks etc. But only as a user.
I tried the poweruser role and can do all things except creating a new VM.
I
also want the user to only see and manipulate his own VM's and not the
other
ones running on the same system.
Even with the PowerUser role, I am not able to create a new VM as this
user.
Also when I edit the built-in PowerUser role, I only see the following
rights selected:
Login Permissions
Template
Provisioning Operations
Create
VM
Provisioning Operations
Edit properties
Create
Disk
Provisioning Operations
Create
Everything else is deselected.
Kind regards,
Jorick Astrego
Netbulae
On 07/22/2014 10:35 AM, Oved Ourfali wrote:
Hi
You didn't really specify what you would like to accomplish, and what
permissions were granted and on what object.
In general, we have two types of roles: User and Admin roles.
If a user has any admin role on any object, then he can login to the admin
portal.
So, as long as you don't assign the user with admin role he will not be
able
to login to the admin portal.
Giving PowerUser role on a DC will allow the user to create VMs and Disks
through the user portal.
Is that what you would like to accomplish?
Oved
----- Original Message -----
From: "Jorick Astrego" <a class="moz-txt-link-rfc2396E" href="mailto:j.astrego@netbulae.eu"><j.astrego@netbulae.eu></a> To: <a class="moz-txt-link-abbreviated" href="mailto:users@ovirt.org">users@ovirt.org</a> Sent:
Tuesday, July 22, 2014 11:32:16 AM
Subject: [ovirt-users] user permissions
Hi,
In our 3.4.3 environment I started adding external users (it is
connected to a freeipa server) and I'm having some problems setting the
correct permissions.
When I give all user roles to a user, I cannot create a vm and get an
error "User is not authorized to perform this action". I tried setting
it on the system level, DC level and cluster level.
I needed to give this user an administrator role with only exactly the
same vm and disk permissions (nothing extra) and things work ok, but he
can now login to the admin portal. So I blocked it with a .htaccess
which is not the prettiest solution.
Am I doing things wrong?
Also the user disappeared from the "System permissions" overview but can
still login, which is a bit weird.
Kind regards,
Jorick Astrego
Netbulae
_______________________________________________
Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>