[ovirt-users] api access with poweruser role

Ondra Machacek omachace at redhat.com
Mon Oct 26 13:57:23 UTC 2015



On 10/26/2015 02:53 PM, Jorick Astrego wrote:
> Hi,
>
> Currently I'm trying to add an ovirt compute resource in forman that 
> is limited to the VM's of the user.
>
> When I give this user the PowerUser role, I cannot access the api:
>
>     query execution failed due to insufficient permissions
>

Are you sending header 'Filter: true' with the request ?
If your user is not admin(PowerUserRole is not admin role),
you have to use this header.

>
> When I give this user the SuperUser role, I can access the api. But I 
> can see all the VM's of all users.
>
> How can I grant api access so the user can deploy through forman 
> without giving access to all the vm's in our oVirt environment?
>
> Kind regards,
>
> Jorick
>
>
>
>
> Met vriendelijke groet, With kind regards,
>
> Jorick Astrego
> *
> Netbulae Virtualization Experts *
> ------------------------------------------------------------------------
> Tel: 053 20 30 270 	info at netbulae.eu 	Staalsteden 4-3A 	KvK 08198180
> Fax: 053 20 30 271 	www.netbulae.eu 	7547 TA Enschede 	BTW NL821234584B01
>
>
> ------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151026/31a2a06a/attachment-0001.html>


More information about the Users mailing list