Issue #4077
pulpcore can't be installed in a Django site that also ships a a custom User object
Description
Problem¶
The pulpcore app isn't "reusable" because of this. See https://docs.djangoproject.com/en/2.1/topics/auth/customizing/#reusable-apps-and-auth-user-model
Solution¶
I'm not sure of all the implications but we could:
(a) stop shipping a custom user model entirely.
(b) move the user bits to their own python package
(c) find an existing Django app that users can install/configure that is effectively solution (b)
Associated revisions
Revision aa519c8e
View on GitHub
Removes custom User model
Revision b2471634
View on GitHub
Fix user serializer for custom user model
In case of custom user model used, PasswordSerializer fails because it relies on builtin into Django user model. This patch add dynamic user model resolving.
closes #4077
Revision b2471634
View on GitHub
Fix user serializer for custom user model
In case of custom user model used, PasswordSerializer fails because it relies on builtin into Django user model. This patch add dynamic user model resolving.
closes #4077
History
#1
Updated by bmbouter over 2 years ago
This is blocking the integration with galaxy.ansible.com
#2
Updated by bmbouter over 2 years ago
I posted a possible fix in this PR here: https://github.com/pulp/pulp/pull/3711/files
#3
Updated by bmbouter over 2 years ago
- Status changed from NEW to POST
PR available at: https://github.com/pulp/pulp/pull/3711
#4
Updated by bmbouter over 2 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|aa519c8edf0b5d2415654b501730cd1e47ce1c59.
#5
Updated by bmbouter over 2 years ago
- Status changed from MODIFIED to POST
Moving to post to attach another issue
#6
Updated by CodeHeeler over 2 years ago
- Triaged changed from No to Yes
#7
Updated by Anonymous about 2 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|b24716342db62a37cbc83557bcde37cce82f212c.
#8
Updated by daviddavis almost 2 years ago
- Sprint/Milestone set to 3.0.0
#9
Updated by bmbouter over 1 year ago
- Tags deleted (
Pulp 3)
#10
Updated by bmbouter about 1 year ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Please register to edit this issue
Removes custom User model
https://pulp.plan.io/issues/4077 closes #4077