closes MAT-187
flag=none
Test Plan
- Have two courses.
- Have two teachers, one enrolled in the first course and the other
enrolled in the second course.
- Create a course file at the root level in the first course.
- Create a course file nested in a folder in the first course.
- Send the two files from the first course to the second teacher.
- Verify that the content shares appear for the second teacher.
- Verify that the content shares can be previewed with a Common
Cartridge viewer.
- Verify that the content shares can be imported into the second
course, with the folder hierarchy preserved.
- Delete the two imported files from the second course.
- Copy the two files from the first course to the second course.
- Verify that the two files are imported into the second course, with
the file hierarchy preserved.
Change-Id: I8fa74f0fe175498f2fb73583ae06181356b684a5
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/270708
Reviewed-by: Jon Scheiding <jon.scheiding@instructure.com>
QA-Review: Jon Scheiding <jon.scheiding@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Gary Mei <gmei@instructure.com>
fixes LS-2015
flag=none
test plan:
- enroll a teacher in a concluded course
- share some content with that teacher as another user
- eg have your admin share a page with the teacher
- view a page in an active course
- click the kebab
- click 'Send to...'
- enter the teacher enrolled in the concluded course
- as the teacher, view your shared content
- Global nav > Account > Shared Content
- Click the kebab on the shared content and click 'Import'
- Try to search for the concluded course
- The concluded course should not show up
Change-Id: Ib441a8b3c7e177b92fab310a2d14c0599a7c6e5c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262848
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeff Largent <jeff.largent@instructure.com>
QA-Review: Jeff Largent <jeff.largent@instructure.com>
Product-Review: Nate Armstrong <narmstrong@instructure.com>