canvas-lms/spec/coffeescripts/views
Spencer Olson 3749017cf3 conditionally hide moderated grading and anonymous content
When the Anonymous Moderated Marking feature flag is enabled and an
assignment is being created or edited, then:
- The Moderated Grading section is only shown if the Moderated Grading
  feature flag is enabled on the course.
- The Anonymous Grading section is only shown if the Anonymous Marking
  feature flag is enabled on the course.

closes GRADE-975

Test Plan:
1. Enable the Anonymous Moderated Marking feature flag on the root
   account.
2. In a course, enable the Moderated Grading feature flag. Verify when
   you create or edit an assignment that the 'Moderated Grading' section
   is available.
3. Disable the Moderated Grading feature flag. Verify when you create or
   edit an assignment that the 'Moderated Grading' section is not
   available.
4. In the same course, enable the Anonymous Marking feature flag. Verify
   when you create or edit an assignment that the 'Anonymous Grading'
   section is available.
5. Disable the Anonymous Marking feature flag. Verify when you create or
   edit an assignment that the 'Anonymous Grading' section is not
   available.

Change-Id: I3f624702fee9665cd72c957daa5d53fed69605d9
Reviewed-on: https://gerrit.instructure.com/150734
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Tested-by: Jenkins
Reviewed-by: Adrian Packel <apackel@instructure.com>
QA-Review: Indira Pai <ipai@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-05-21 14:58:19 +00:00
..
DiscussionTopic [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
DiscussionTopics Limit users to their visibilities for section specific 2018-03-20 17:06:19 +00:00
ExternalFeeds [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
accounts/admin_tools [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
announcements [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
assignments conditionally hide moderated grading and anonymous content 2018-05-21 14:58:19 +00:00
calendar [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
conferences BBB feature recording multiple formats 2018-04-26 19:58:36 +00:00
content_migrations Add support gui for importing to Quizzes.Next 2018-05-14 14:11:05 +00:00
conversations [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
courses/roster [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
feature_flags [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
grade_summary [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
gradebook [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
gradezilla [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
groups/manage [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
outcomes Clean up TinyMCE instances in a couple places 2018-03-28 16:36:07 +00:00
profiles upload avatar images across shards 2018-05-11 19:21:15 +00:00
quizzes spec: silence some console.logs and warnings 2018-05-17 14:31:39 +00:00
tinymce [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
wiki [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
CollectionViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
DialogFormViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
FilterableSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
FindFlickrImageViewSpec.js use needs_interstitial to filter nsfw flickr imgs 2018-03-14 21:35:38 +00:00
GoogleDocsTreeViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
InputFilterViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
InputViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
MessageStudentsDialogSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
PaginatedCollectionViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
PublishButtonViewSpec.js Block non-moderators from editing assignments 2018-05-03 10:59:37 +00:00
PublishIconViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
SearchViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
SelectViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
SisButtonViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
SyllabusViewPrerendered.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
SyllabusViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
ToggleableSubscriptionIconViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
ValidatedFormViewSpec.js [spec][decaffeinate] convert coffe specs to js syntax 2018-02-22 16:45:17 +00:00
ValidatedMixinSpec.js Bump canvas-rce to 3.1.0 2018-03-30 20:46:29 +00:00