Project

Profile

Help

Story #222

closed

[RFE] Allow adding role in the user's creation call

Added by ipanova@redhat.com about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1065454 ++

Description of problem:

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:

Also available in: Atom PDF