add markers to exams (move away from group based to content based permissions)

This commit is contained in:
Ross
2024-08-05 10:45:38 +01:00
parent cff5a46e4c
commit e46f843284
33 changed files with 299 additions and 23 deletions
+7
View File
@@ -629,6 +629,13 @@ class Exam(ExamBase):
related_name="rapid_exam_author",
)
markers = models.ManyToManyField(
settings.AUTH_USER_MODEL,
blank=True,
help_text="Authorised markers for the exam",
related_name="rapid_exam_markers",
)
valid_cid_users = models.ManyToManyField(
CidUser, blank=True, related_name="rapid_exams"
)