Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1065454

Summary: [RFE] Allow adding role in the user's creation call
Product: [Retired] Pulp Reporter: Ina Panova <ipanova>
Component: API/integrationAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: pulp-qe-list
Severity: unspecified Docs Contact:
Priority: low    
Version: unspecifiedCC: skarmark
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-19 01:12:48 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:

Description Ina Panova 2014-02-14 16:57:55 UTC
Description of problem:
Current situation requires two steps:
1) create a user with POST method
2) add a role to the user by making the update with the PUT method

Would be more convenient to specify directly roles(as an optional field) during creation of the user.
As for example in repo creation call - we can create repo and add importer/distributor in one step, or update repo with these details later.

Version-Release number of selected component (if applicable):

pulp-server-2.4.0-0.2.alpha.git.8.71f8305.fc19.noarch
How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
role can be added only after creation call

Expected results:
add role during create call

Additional info:

Comment 1 Brian Bouterse 2015-02-19 01:12:48 UTC
Moved to https://pulp.plan.io/issues/222