canvas-lms/lib/user_content
Dan Minkevitch 43429e68f3 Fix issue with file previews hidden with "Institution" visibility
Fixes CNVS-33763

Test Plan:
* Prerequisite: Kaltura/Notorious plugin enabled for generating
  file previews
* Create a course with "Institution" visibility.
* Upload a media file to the course.
* Create a content page and link the media file using the sidebar.
* Log in or masquerade as a non-enrolled user.
* Access the page and see that the file link appears along
  with its preview.

Change-Id: If5590abaded4d74a1f5d737fe84de42bb60c6ffe
Reviewed-on: https://gerrit.instructure.com/97790
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
2017-01-07 00:52:54 +00:00
..
files_handler.rb Fix issue with file previews hidden with "Institution" visibility 2017-01-07 00:52:54 +00:00