Project

Profile

Help

Issue #4313

Username is mutable and can be updated/changed via REST API

Added by ttereshc almost 2 years ago. Updated 10 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Sprint 47
Quarter:

Description

Username is mutable and can be updated/changed via REST API.
Is it on purpose? Do we rely anywhere on username?

Suggestion: make it immutable for now


Related issues

Related to Pulp - Task #2635: Determine which fields are mutable on each resource.CLOSED - COMPLETE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Pulp - Task #4398: Remove "User" REST API callsCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied to Pulp - Test #4360: Username is mutable and can be updated/changed via REST APICLOSED - COMPLETE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 17f50802 View on GitHub
Added by ttereshc almost 2 years ago

Disallow user creation/update

One admin user will exist until the full support for user management is added

closes #4313 https://pulp.plan.io/issues/4313

Revision 17f50802 View on GitHub
Added by ttereshc almost 2 years ago

Disallow user creation/update

One admin user will exist until the full support for user management is added

closes #4313 https://pulp.plan.io/issues/4313

History

#1 Updated by CodeHeeler almost 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 47
  • Tags Easy Fix, Pulp 3 RC Blocker added

#2 Updated by amacdona@redhat.com almost 2 years ago

Since we don't really have a full design for how users should work, I think we should remove the create & update mixins from the viewset, leaving a single "admin" user that is immutable.

This isn't at all what we want eventually, but it puts us in a great position to do whatever we need to in a backwards compatible way.

#3 Updated by ttereshc almost 2 years ago

  • Related to Task #2635: Determine which fields are mutable on each resource. added

#4 Updated by ttereshc almost 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#5 Updated by ttereshc almost 2 years ago

  • Status changed from ASSIGNED to POST

https://github.com/pulp/pulp/pull/3829

@amacdona, I like the idea of disallowing user creation/update at this point.

#6 Updated by ttereshc almost 2 years ago

  • Status changed from POST to MODIFIED

#7 Updated by bherring almost 2 years ago

  • Copied to Test #4360: Username is mutable and can be updated/changed via REST API added

#8 Updated by kersom over 1 year ago

  • Related to Task #4398: Remove "User" REST API calls added

#9 Updated by daviddavis over 1 year ago

  • Sprint/Milestone set to 3.0.0

#10 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3, Pulp 3 RC Blocker)

#11 Updated by bmbouter 12 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF