numerous supervisor upgrades
This commit is contained in:
@@ -602,6 +602,11 @@ class ExamOrCollectionGenericBase(models.Model, AuthorMixin):
|
||||
default=False,
|
||||
)
|
||||
|
||||
results_supervisor_visible = models.BooleanField(
|
||||
help_text="If true the results will be visible to supervisors without candidate approval.",
|
||||
default=False,
|
||||
)
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
@@ -1463,6 +1468,8 @@ class CidUserExam(models.Model):
|
||||
# TODO switch to json field?
|
||||
results_emailed_status = models.CharField(max_length=255, blank=True)
|
||||
|
||||
share_with_supervisor = models.BooleanField(default=False, help_text="If true the exam status and results will be available to a users supervisor")
|
||||
|
||||
def __str__(self) -> str:
|
||||
if self.cid_user is None:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user