<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 28 Dec 2017, at 13:49, Yaniv Kaul &lt;<a href="mailto:ykaul@redhat.com" class="">ykaul@redhat.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I'm following the example[1] and getting an error:<div class="">User is not authorized to perform this action.<br class=""></div><div class=""><br class=""></div><div class="">What permission do I need (I'm using admin@internal) in order to do this?</div></div></div></blockquote><div><br class=""></div>UserProfileEditor</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">Engine.log:</div><div class=""><div class="">2017-12-28 07:25:35,571-05 WARN&nbsp; [org.ovirt.engine.core.bll.AddUserProfileCommand] (default task-13) [5af96d04-f81d-4c76-9f06-ee03a12e2f71] Validation of action 'AddUserProfile' failed for user admin@internal-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__USER_PROFILE,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION</div><div class="">2017-12-28 07:25:35,572-05 DEBUG [org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor] (default task-13) [5af96d04-f81d-4c76-9f06-ee03a12e2f71] method: runAction, params: [AddUserProfile,</div></div></div></div></blockquote><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">UserProfileParameters:{commandId='a57680f0-3926-4808-8452-ea8d67b076a3', user='null', commandType='Unknown'}], timeElapsed: 41ms</div></div></div></div></blockquote><div><br class=""></div>user “null” sounds wrong</div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">2017-12-28 07:25:35,577-05 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-13) [] Operation Failed: [User is not authorized to perform this action.]</div></div><div class=""><br class=""></div><div class="">TIA,</div><div class="">Y.</div><div class=""><br class=""></div><div class="">[1]&nbsp;<a href="https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_user_ssh_public_key.py" class="">https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_user_ssh_public_key.py</a></div></div>
_______________________________________________<br class="">Devel mailing list<br class=""><a href="mailto:Devel@ovirt.org" class="">Devel@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/devel</div></blockquote></div><br class=""></body></html>