Team submison generates submission records for all team members

Description

Overview

For team-enabled ORAs, the first member of a team to hit the “Submit” button will cause a submission record to be created for all current members of the team.

Requirements

Modify the SubmissionMixin.create_submission() method. In addition to creating a submission for the current user, if teams are enabled for the ORA and the user is a member of a team, we must:

  • Iterate through the other team members of the team.

  • For each teammate, create a submission record with the same submission data, including file data.

    • The student_item_dict for each teammate will be similar to the original, but with a different student_id value.

    • The files included as part of the submission record should be exactly the files recorded in the SharedFileUpload model for the team and assignment for which submissions are generated. We don’t need to capture any file information from the CSM state for generating submissions.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Assignee

Nathan Sprenkle

Reporter

Mat Carter

Labels

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Story Points

3

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Epic Link

Sprint

None

Priority

Unset
Configure