Bug 719576

Summary: RHEVM REST APIs - Impossible to add role to user by name
Product: [Retired] oVirt Reporter: Elena <edolinin>
Component: ovirt-engine-apiAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, ecohen, iheim, mpastern, oliel, Rhev-m-bugs, sgrinber, srevivo, ykaul
Target Milestone: ---Flags: oliel: ovirt_requires_release_note+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-17 07:49:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Elena 2011-07-07 11:21:11 UTC
Adding a new role to the user is possible only by id. When supplying name error 405 is returned.

http://10.35.113.80:8080/rhevm-api/users/e302664f-554d-45ac-8cdd-726f91e592c7
<role>
<name>RHEVMPowerUser</name>
</role>

Comment 1 Ori Liel 2012-02-02 10:19:53 UTC
This was not possible before, so please add to release notes