Project

Profile

Help

Task #2243

Create custom django User model

Added by ttereshc about 4 years ago. Updated 12 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 10
Quarter:

Description

Django User model has some limitations like 30 chars for a username, so we have to substitute it with our own one.
It is probably not a bad idea to keep our implementation as close as possible to the Django one, so we will be able to use mostly as-is the related classes like UserManager, UserAdmin. At the same time we will have some attributes which we currently do not use.

In case we use django-guardian for authz, which seems likely, be sure to read this:

https://django-guardian.readthedocs.io/en/stable/userguide/custom-user-model.html


Related issues

Related to Pulp - Task #2090: Create a plan for user/auth in 3.0CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Pulp - Task #2356: Add serializer for the user modelCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Pulp - Story #2358: As a user, I can authenticate with username and password stored in PulpCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision c6e9964a View on GitHub
Added by dkliban@redhat.com about 4 years ago

Adds a custom User model to pulp.app

This commit also changes the label of the Pulp Django app from 'pulp' to 'pulp_app'. closes #2243 https://pulp.plan.io/issues/2243

Revision c6e9964a View on GitHub
Added by dkliban@redhat.com about 4 years ago

Adds a custom User model to pulp.app

This commit also changes the label of the Pulp Django app from 'pulp' to 'pulp_app'. closes #2243 https://pulp.plan.io/issues/2243

History

#1 Updated by ttereshc about 4 years ago

  • Related to Task #2090: Create a plan for user/auth in 3.0 added

#2 Updated by mhrivnak about 4 years ago

  • Description updated (diff)

#3 Updated by ttereshc about 4 years ago

  • Blocks Task #2356: Add serializer for the user model added

#4 Updated by ttereshc about 4 years ago

  • Blocks Story #2358: As a user, I can authenticate with username and password stored in Pulp added

#5 Updated by mhrivnak about 4 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

#6 Updated by mhrivnak about 4 years ago

  • Sprint/Milestone set to 28

#7 Updated by dkliban@redhat.com about 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#8 Updated by dkliban@redhat.com about 4 years ago

  • Status changed from ASSIGNED to POST

#9 Updated by dkliban@redhat.com about 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#10 Updated by bmbouter over 3 years ago

  • Tags deleted (Pulp 3 Modeling)

#11 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 10

#12 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (28)

#13 Updated by daviddavis over 1 year ago

  • Sprint/Milestone set to 3.0.0

#14 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#15 Updated by bmbouter 12 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF