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?
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
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_us...