> On 28 Dec 2017, at 13:49, Yaniv Kaul <[email protected]> wrote:
> 
> I'm following the example[1] and getting an error:
> User is not authorized to perform this action.
> 
> What permission do I need (I'm using admin@internal) in order to do this?

UserProfileEditor

> Engine.log:
> 2017-12-28 07:25:35,571-05 WARN  
> [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
> 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,
> UserProfileParameters:{commandId='a57680f0-3926-4808-8452-ea8d67b076a3', 
> user='null', commandType='Unknown'}], timeElapsed: 41ms

user “null” sounds wrong

> 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.]
> 
> TIA,
> Y.
> 
> [1] 
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_user_ssh_public_key.py
>  
> <https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_user_ssh_public_key.py>_______________________________________________
> Devel mailing list
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/devel

_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to