We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a05af commit 5406e95Copy full SHA for 5406e95
lib/cadet/assessments/assessments.ex
@@ -1212,6 +1212,7 @@ defmodule Cadet.Assessments do
1212
# allows staff to unpublish own assessment
1213
bypass = role in @bypass_closed_roles and submission.student_id == course_reg_id
1214
1215
+ # assumption: if team assessment, all team members are under the same avenger
1216
effective_student_id =
1217
if is_nil(submission.student_id) do
1218
Teams.get_first_member(submission.team_id).student_id
0 commit comments