canvas-lms/app
Spencer Olson 9e2b3f757e allow viewing deactivated students in speedgrader
closes EVAL-3330
flag=none

Allows teachers to view deactivated students for differentiated assignments
in SpeedGrader, so long as the "view inactive" option is selected
in Gradebook. Previously, if an assignment was differentiated, students
would only be shown in SpeedGrader if the students themselves had the
ability to view the assignment. This meant deactivated students wouldn't be
shown — even if teachers had the option selected in Gradebook to view
inactive students — because deactivated students can't view the assignment.

Test Plan:
1. Create an assignment and assign it to specific students

2. De-activate the enrollment of the students assigned.

3. Navigate to the Gradebook and enable the display of inactive
   enrollments.

4. Observe that the inactive student can be graded there.

5. Navigate back to the assignment in question.

6. Open SpeedGrader to view the submissions.

7. Verify you can see the deactivated students in SpeedGrader, and you
   don't get an error message like “Sorry, there are either no active
   students in the course or none are able to be graded by you”.

Change-Id: I793da6daa652abf41162fa8a9b11f437be05127f
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/324998
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
QA-Review: Samuel Lee <samuel.lee@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2023-08-16 22:35:08 +00:00
..
controllers Enable a2 view for lti 2023-08-16 20:49:03 +00:00
graphql bundle update rubocop 2023-08-14 16:32:06 +00:00
helpers bundle update rubocop 2023-08-14 16:32:06 +00:00
messages Update submission posted notification 2023-05-16 14:10:58 +00:00
middleware add reasonable failsafes for several usages of Consul 2023-07-12 14:51:15 +00:00
models allow viewing deactivated students in speedgrader 2023-08-16 22:35:08 +00:00
observers announce quizzes locked/unlocked on LiveEvents 2022-08-18 17:53:37 +00:00
presenters Handle missing student enrollments 2023-08-09 15:52:10 +00:00
serializers check for course pacing feature enablement for due date UI 2023-06-26 18:06:28 +00:00
services Handle missing student enrollments 2023-08-09 15:52:10 +00:00
stylesheets Start showing explanations for inherited media captions 2023-08-04 14:28:17 +00:00
views Improve the recursive nature of grading standards 2023-08-15 18:04:08 +00:00