Bug 1732912

Summary: [RFE] allow admin to provision as another user with the api
Product: Red Hat CloudForms Management Engine Reporter: Felix Dewaleyne <fdewaley>
Component: APIAssignee: Greg McCullough <gmccullo>
Status: CLOSED WONTFIX QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: unspecifiedCC: fdewaley, gmccullo, gtanzill, jocarter, lavenel, mfeifer, obarenbo
Target Milestone: GAKeywords: FutureFeature, Reopened, RFE
Target Release: cfme-future   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-04 15:56:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 3 Greg McCullough 2020-01-24 22:17:21 UTC
You can pass "user_name" as part of the "requester" data passed to the API.

See an example here: https://www.manageiq.org/docs/reference/latest/api/examples/provision_request

Comment 4 Felix Dewaleyne 2020-01-27 15:49:36 UTC
does this also work with service requests?

sorry to reopen, question was raised by the customer.

Comment 6 Greg McCullough 2020-02-05 00:45:30 UTC
Checking the code it does not appear that services supports the same concept.  The BZ would need to be reopen if the RFE is still needed.