Actions
Task #2243
closedCreate custom django User model
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
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
Actions
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