Open
Description
Proposal
We create an authoring.authors
app that has an Author
model, and make all Learning Core authoring models link against that instead of the User
model.
Rationale
The Learning Core convention to date has been to represent things like created_by
using nullable foreign keys to the User table configured via Django settings (which for edx-platform is always the standard auth_user
one). But I think that causes a number of issues:
- It doesn't properly distinguish between when relationships specifically want to address Authors vs. Learners.
- It makes it more difficult to map information into a second instance. If these three problems were created by "Clyde", and we have a publish log and history with that information in it, a full export should be able to preserve that information–even if "Clyde" does not exist in the system being imported into. (This assumes that we have a very rich export format for backup/restore purposes, possibly a SQLite dump of parts of the DB.)
Open Questions
I'm not sure whether this is a single instance-wide Author
that's 1:1 with User
, or whether we also have a notion of a LearningPackageAuthor
relationship.