Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a2 student bug & only do one submission query
this fixes the bug I just introduced to a2 student view but it also fixes our code to use the same query result we already were querying the db for instead of issuing a new query for the submission and it also fixes a bug where if the student didn’t have permission to :read_own_submission or :read_grades (read their own grades) that they would still get shown the submission test plan: * as a student, go to courses/x/assignmets/y * you should be able to see the part where you submit the assignment Change-Id: Iba155bcf3b841ddaf94d3bcb450fbdddd8fbd99f Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/218336 Tested-by: Service Cloud Jenkins <[email protected]> Tested-by: Jenkins QA-Review: Matthew Lemon <[email protected]> Reviewed-by: Ryan Norton <[email protected]> Reviewed-by: Matthew Lemon <[email protected]> Product-Review: Ryan Shaw <[email protected]>
- Loading branch information