Re-sync LessonBuilderAccessService with kernel code

Description

kernel content handling was changed a bit in Sakai 11 especially if using a cloud-hosting service like AWS S3 or OpenStack Swift.

SAK-30325 includes ability to send the asset directly to the user instead of streaming the file bytes in the JVM.

This PR will re-sync the kernel changes with the custom LessonBuilderAccessService.java

Activity

Show:

Sam Ottenhoff September 2, 2016 at 1:10 PM

> At some point we should abstract the common stuff to one place in the kernel.

We tried this summer, and it was too difficult.

Charles Hedrick September 2, 2016 at 1:07 PM
Edited

At some point we should abstract the common stuff to one place in the kernel. The reason I need separate code is mostly to do access checking. Lessons has its own idea about who can access what. Currently I also do Content-Security-Poicy header which content doesn't. There are probably other minor things I do. But it's mostly common code.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created September 2, 2016 at 1:03 PM
Updated April 18, 2018 at 7:31 AM
Resolved September 6, 2016 at 10:36 AM