canvas-lms/app
Spencer Olson 18176c1f73 assignment enhancements: fix assignment page for observers
When 'Assignment Enhancements — Student' is enabled, observers will now
be able to view the assignment page without error. The observers will
be sent to the 'old' assignments page.

closes EVAL-1383
flag=assignments_2_student

Test Plan:
1. Add at least one observer and one assignment to a published course.
2. Enable the Assignment Enhancements - Student feature option at the
   account.
3. Act as the observer and view the assignment
4. Verify the 'assignment show' page is shown (with assignment title,
   details, due date, etc.). Note that this is the "old" assignment
   show page, and not an enhanced version of the page. This is
   intentional.

Change-Id: I07ac9deab33a5a5e5378c9ac15c6e4df433d3932
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/256464
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Syed Hussain <shussain@instructure.com>
Product-Review: Syed Hussain <shussain@instructure.com>
2021-01-11 22:16:47 +00:00
..
coffeescripts fix prototype pollution vuln 2021-01-07 17:04:44 +00:00
controllers assignment enhancements: fix assignment page for observers 2021-01-11 22:16:47 +00:00
graphql batch load LearningOutcome.assessed in graphql 2021-01-11 16:12:52 +00:00
helpers create gql mutation for add conversation msg 2020-12-21 23:23:22 +00:00
jsx Add view ungraded as zero confirmation 2021-01-11 16:54:56 +00:00
messages user asset user name for twitter message 2021-01-04 17:14:07 +00:00
middleware moar frozen string literal fixes 2020-11-17 22:06:13 +00:00
models don't set implicit course dates when shifting an import 2021-01-11 19:32:32 +00:00
observers add live_events for outcome_calculation_method 2020-10-21 22:19:53 +00:00
presenters remove checks for post_policies_enabled 2020-11-17 21:47:36 +00:00
serializers Add disable_timer_autosubmission to Quiz model 2020-05-06 14:31:16 +00:00
stylesheets Fix media player caption font and move to bottom 2021-01-07 16:26:37 +00:00
views Fix the link to the guide 2021-01-07 20:15:16 +00:00
.rubocop.yml create gql mutation for add conversation msg 2020-12-21 23:23:22 +00:00