When a TA goes to the page where they can find the deliveries assigened to them, the progress bar displays incorrectly. This happen because getAssignmentStats in DeliveriesBackend creates a new AssignmentStats object with assignment.getCourseEdition().getGroups() as a second parameter.
This is good for when the currentUser is an admin, but if currentUser is a TA, we want only the stats for the deliveries they are assigned to.
When a TA goes to the page where they can find the deliveries assigened to them, the progress bar displays incorrectly. This happen because
getAssignmentStats
inDeliveriesBackend
creates a newAssignmentStats
object withassignment.getCourseEdition().getGroups()
as a second parameter.This is good for when the
currentUser
is an admin, but ifcurrentUser
is a TA, we want only the stats for the deliveries they are assigned to.