founderlab / react-dropzone-s3-uploader

Drag and drop s3 file uploader via react-dropzone + react-s3-uploader
MIT License
161 stars 82 forks source link

Add acl permissions support #42

Open costajohnt opened 7 years ago

costajohnt commented 7 years ago

Add ability to configure ACL permissions

Right now, permissions are hard-coded to 'public-read'. This change adds a new prop to DropzoneS3Uploader called aclPermissions. The value is a string. Any canned aws ACL should be valid, we are using 'private' for our purposes. http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl.

Also, we are specifying the directory for babel in our build commands.

ilyakatz commented 6 years ago

Any updates on this? Would be great add this functionality

madamkiwi commented 6 years ago

Hi Founderlab,

We are looking for a solution to use private permission as well, and spent many hours figuring out why it isn't working before finding this PR (nice work @costajohnt !). I'd imagine many other users would find this functionality super useful.

K