Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Use public-read for S3-enabled storage of thumbnails by default #217

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Mar 16, 2017

  1. Use public-read for S3-enabled storage of thumbnails by default

    When the `ENABLE_S3_MEDIA` setting is applied, continue to use "private"
    S3 storage for media assets by default, but switch to using "public"
    S3 storage for thumbnails generated by the thumbnailing system.
    
    Here "private" storage means that images are only accessible through
    time-limited signed S3 URLs, while "public" means that thumbnails will
    be accessible through non-time-limited standard S3 URLs and the
    thumbnail images will be stored with the `public-read` ACL behind the
    scenes.
    
    As part of this change, the `S3DefaultStorage` storage class is renamed
    to `S3DefaultPrivateStorage` to be explicit (the original class name
    remains available for backwards-compatibility) and the new
    `S3DefaultPublicStorage` class is added.
    jmurty committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    7719b26 View commit details
    Browse the repository at this point in the history