Project

Profile

Help

Task #2243

closed

Create custom django User model

Added by ttereshc over 8 years ago. Updated about 5 years 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 - CURRENTRELEASEttereshc

Actions
Blocks Pulp - Task #2356: Add serializer for the user modelCLOSED - CURRENTRELEASEdkliban@redhat.com

Actions
Blocks Pulp - Story #2358: As a user, I can authenticate with username and password stored in PulpCLOSED - CURRENTRELEASEdkliban@redhat.com

Actions
Actions #1

Updated by ttereshc over 8 years ago

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

Updated by mhrivnak over 8 years ago

  • Description updated (diff)
Actions #3

Updated by ttereshc about 8 years ago

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

Updated by ttereshc about 8 years ago

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

Updated by mhrivnak about 8 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #6

Updated by mhrivnak about 8 years ago

  • Sprint/Milestone set to 28
Actions #7

Updated by dkliban@redhat.com about 8 years ago

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

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from ASSIGNED to POST

Added by dkliban@redhat.com about 8 years ago

Revision c6e9964a | View on GitHub

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

Added by dkliban@redhat.com about 8 years ago

Revision c6e9964a | View on GitHub

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

Actions #9

Updated by dkliban@redhat.com about 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #10

Updated by bmbouter over 7 years ago

  • Tags deleted (Pulp 3 Modeling)
Actions #11

Updated by bmbouter almost 7 years ago

  • Sprint set to Sprint 10
Actions #12

Updated by bmbouter almost 7 years ago

  • Sprint/Milestone deleted (28)
Actions #13

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #14

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #15

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF