Bug 1318197

Summary: [RFE] Add create action in user api of CloudForms.
Product: Red Hat CloudForms Management Engine Reporter: Nikhil Gupta <ngupta>
Component: APIAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Taras Lehinevych <tlehinev>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: cpelland, dajohnso, jhardy, mfeifer, obarenbo, simaishi, slukasik, ssainkar
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rest:rbac
Fixed In Version: 5.6.0.0 Doc Type: Enhancement
Doc Text:
There was a feature request in which CloudForms API should be able to create users; previously only an edit action was possible. A create action in user API of CloudForms has now been added with this release.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:43:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikhil Gupta 2016-03-16 09:23:17 UTC
Description of problem:
[RFE] Add create action in user api of CloudForms.
The Cloudforms API should be able to create users.

Currently, only edit action is present:

https://cfme-fqdn/api/users

{"name":"users","count":2,"subcount":2,"resources":[{"href":"https://cfme-fqdn/api/users/99000000000002"},{"href":"https://cfme-fqdn/api/users/99000000000001"}],"actions":[{"name":"edit","method":"post","href":"https://cfme-fqdn/api/users"}]}

Comment 2 Šimon Lukašík 2016-04-12 13:37:51 UTC
Moving to POST since this has been fixed in upstream in https://github.com/manageiq/manageiq/pull/5674

Comment 3 Taras Lehinevych 2016-04-27 11:15:27 UTC
Verified in 5.6.0.4-beta2.3

Comment 5 errata-xmlrpc 2016-06-29 15:43:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348