OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

#575 Wire up the assessment submissions list frontend component to the backend API route #580

Closed kaiyolau closed 1 year ago

kaiyolau commented 1 year ago

Proposed changes

This pull request resolves #575 by fully implementing and testing the [GET] assessments/assessmentId/submissions route. The [GET] assessments/assessmentId/submissions retrieve the list of submissions in the assessment_submissions table.

If the current principal is a facilitator, retrieve all of the submissions from all participants. If the current principal is a participant, only retrieve all of the submissions from the current principal_id.

This issue continues the work from issue #515

Checklist