danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.6k forks source link

No way to add bucket-owner-full-control to an uploaded file? (Access control list of the object) #2143

Closed martelman closed 3 years ago

martelman commented 3 years ago

I cannot find a way to allow the owner of the s3 bucket to download the objects uploaded in s3 on form submit. In my use case, there is a specific role created to solely upload files to a specific bucket.

I want the owner of the bucket to download the object uploaded by that role (IAM user).

Normally, we can pass as extra args {'ACL':'bucket-owner-full-control'} on upload to s3 to do so.

Is there a way to do this right now ? I couldn't find any.

Cheers.

(here is a ref article in AWS that explains what I'd like to add on file upload)

martelman commented 3 years ago

seems its de facto the case.