canvas-lms/lib/cc/importer
Sarah Gerard a96956601c BP and CC work with page availability dates
we should be able to lock availability dates for pages in
blueprint courses, and availability dates should copy over
when doing course copy, and they should be able to be shifted
when adjusted dates is requested.

closes LX-1849
flag=selective_release_backend

test plan:
- For blue print locking:
- create a blue print course by checking Enable course
  as a Blueprint Course in the settings page
- under 'Locked Objects by Type', under pages,
  check the 'availability dates' check box
- create a page and add availability dates, and then lock
  the page by clicking the blueprint button on the show page
- associate and sync a course
- in the associated course, check any place where the assign to
  tray is and ensure that you cannot edit the availability
  dates

- For course copy:
- create a course that has a page with availability dates
- copy the course, ensure that the page in the copied course
  has availability dates
- copy the course again, this time checking the 'adjust events
  and due dates' box, and enter dates to shift the copied
  course to. Ensure that the dates of the page are shifted in
  the copied course
- copy the original course one more time, this time checking
  the 'adjust events and due dates' box, and checking 'remove
  dates'. Ensure that the page's availability dates have been
  removed in the copied course.

Change-Id: I932dbabc968316b5be367ea02d6dd7af255af35a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/356510
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Robin Kuss <rkuss@instructure.com>
Reviewed-by: Robin Kuss <rkuss@instructure.com>
Product-Review: Sarah Gerard <sarah.gerard@instructure.com>
2024-09-06 16:05:10 +00:00
..
canvas BP and CC work with page availability dates 2024-09-06 16:05:10 +00:00
standard XML parsing support for Discussion Checkpoint related fields 2024-09-04 14:42:13 +00:00
blti_converter.rb
cc_worker.rb