forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix account level rubric assessments showing in wrong context
fixes OUT-1348 test plan: - create an account level rubric - create two courses with two different teacher users - create a student in Course A - import the rubric into both courses by attaching them to an assignment - as the student in Course A, submit to the assignment - grade the assignment in speedgrader under 'view rubric' - as the teacher in Course A, hit the following endpoint: /api/v1/courses/{course_id}/rubrics/{rubric_id}?include=assessments (note: you can easily get the rubric id by hovering or inspecting the 'edit' icon on the assignment's show page) - as the teacher in Course A, the assessment should be returned in the api response - log in as the teacher for Course B, and hit the same endpoint (just updating the course and rubric ids for Course B) - only the rubric should be included in the api response, there should be no rubric assessments returned Change-Id: I12121703dcf92d301c706e3d0e5d64cf315b1e63 Reviewed-on: https://gerrit.instructure.com/118915 Reviewed-by: Augusto Callejas <[email protected]> QA-Review: Andrew Porter <[email protected]> Product-Review: Michael Brewer-Davis <[email protected]> Tested-by: Jenkins
- Loading branch information
Showing
3 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters