carrierwaveuploader / carrierwave-aws

AWS-SDK storage adapter for CarrierWave
MIT License
409 stars 107 forks source link

Setting ACLs can be turned off #175

Closed tdxius closed 1 year ago

tdxius commented 1 year ago

We would like to turn on "Block public access" setting for our AWS S3 bucket (it is also recommended by AWS) and serve all our files through CloudFront. The problem is that if this is turned on, then Carrierwave is not able to set ACL permissions.

It would be cool if setting ACLs could be turned off in a initializer.

CarrierWave.configure do |config|
  config.aws_acl_enabled = false # true by default
end