Open seanh opened 2 years ago
The user table includes a rows column (instructor, learner, admin, etc):
user
rows
https://github.com/hypothesis/lms/blob/0ae07d059298b7b42c72614f1dd04e39078660fb/lms/models/user.py#L37-L38
This isn't right: the same user can be an instructor in one course and a learner in another.
We should move the roles column off the user table, probably onto the group_membership table.
roles
group_membership
Questions:
Slack thread: https://hypothes-is.slack.com/archives/C1MA4E9B9/p1643808229962529
The
user
table includes arows
column (instructor, learner, admin, etc):https://github.com/hypothesis/lms/blob/0ae07d059298b7b42c72614f1dd04e39078660fb/lms/models/user.py#L37-L38
This isn't right: the same user can be an instructor in one course and a learner in another.
We should move the
roles
column off theuser
table, probably onto thegroup_membership
table.Questions: