Re-sync LessonBuilderAccessService with kernel code
GENERAL
TESTING
GENERAL
TESTING
Description
relates to
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 PMEdited
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.
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