Project

Profile

Help

Task #2243

closed

Create custom django User model

Added by ttereshc over 7 years ago. Updated over 4 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

Also available in: Atom PDF