Hello,
Currently there's three tickets related to issues with the current implementation of our user and groups models.
Basically we're relying on the current thread to store the request user and use that in a couple of places.
I've done an initial analysis and concluded that we can safely remove the dependency on the thread user for all places
I'm proposing for us to refactor the user and group models on the CMS to no longer be subclasses of Django's User model.
Instead, they should be proxy models that add some functionality (not fields) specific to our use case.
To do this I would like revisit the use cases for having the created_by field on both user and group models.
If we're unable replace the created_by field then I suggest having a separate model to make this relationship more explicit,
something like Manager where users can be assigned as managers of other users or groups.
Let me know what you guys think.