canvas-lms/lib/cc
James Williams 7a80ec7e92 release mastery paths content after disabling feature on course
also don't restrict content if imported into a course
with mastery paths disabled

test plan:
* create a course with mastery paths enabled
 and content set to be released on completion of
 a trigger assignment (including other assignments,
 ungraded quizzes, and wiki pages)
* copy the course into another one that does not
 have mastery paths enabled
 * all content should be visible by students
 in the copied course

* in the original course, disable the mastery paths
 feature
* it should give a warning (that actually works to not
 turn the feature flag off if you cancel the dialog)
 that says that the content will have to reconfigured
 if re-enabled
* all content previously hidden from students should
 now be available

closes #LS-1459

Change-Id: I47c8dc773ecdc60b5921853c266959f3e8335f0b
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/248869
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2020-10-08 15:22:51 +00:00
..
exporter add account query caching for brand configs and locales 2020-09-10 20:42:27 +00:00
importer release mastery paths content after disabling feature on course 2020-10-08 15:22:51 +00:00
qti Add course copy support for Disable Timer Autosubmission setting 2020-05-06 17:53:48 +00:00
xsd copy external tool tag data 2020-08-17 14:10:07 +00:00
assignment_groups.rb da licença part 27 2017-04-27 21:53:31 +00:00
assignment_resources.rb copy external tool tag data 2020-08-17 14:10:07 +00:00
basic_lti_links.rb add json support for lti content migration 2020-05-11 21:02:21 +00:00
canvas_resource.rb Save post policy in content migrations 2019-08-06 18:47:57 +00:00
cc_exporter.rb remove action_controller_test_process shim 2020-01-10 18:54:48 +00:00
cc_helper.rb export/import new RCE media objects 2020-09-25 19:48:39 +00:00
events.rb da licença part 27 2017-04-27 21:53:31 +00:00
external_feeds.rb da licença part 27 2017-04-27 21:53:31 +00:00
grading_standards.rb da licença part 27 2017-04-27 21:53:31 +00:00
importer.rb da licença part 27 2017-04-27 21:53:31 +00:00
learning_outcomes.rb Import selective outcomes 2020-05-12 21:41:32 +00:00
manifest.rb call translated license names in a lambda 2017-08-14 13:03:04 +00:00
module_meta.rb master courses: copy module prerequisites selectively 2018-03-12 20:11:52 +00:00
organization.rb da licença part 27 2017-04-27 21:53:31 +00:00
resource.rb add media objects to qti exports 2019-03-15 14:52:00 +00:00
rubrics.rb fix account-level outcome rubric association copying 2018-09-20 15:51:22 +00:00
schema.rb da licença part 27 2017-04-27 21:53:31 +00:00
tool_profiles.rb Selective Tool Profile Course Copy 2017-06-28 17:00:56 +00:00
topic_resources.rb Add "Closed for comments" setting to topic migration 2018-02-13 21:07:43 +00:00
web_links.rb da licença part 27 2017-04-27 21:53:31 +00:00
web_resources.rb add media objects to qti exports 2019-03-15 14:52:00 +00:00
wiki_resources.rb preserve `only_visible_to_overrides` for page assignments 2018-10-16 17:13:09 +00:00