Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ACL to be set by the package job input payload. #152

Open
matvp91 opened this issue Jan 5, 2025 · 0 comments
Open

Allow ACL to be set by the package job input payload. #152

matvp91 opened this issue Jan 5, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@matvp91
Copy link
Collaborator

matvp91 commented Jan 5, 2025

Is your feature request related to a problem? Please describe.
In f4d5a2d we removed support for "per object ACL" due to Backblaze B2 having the concept of a "bucket ACL". Ideally, people put a CDN in front of their bucket.

However, there are providers that come with a built-in CDN such as DigitalOcean thus having some sort of ACL set to "public-read" should be there.

Describe the solution you'd like
When a package job is set, we can introduce a public key that sets the ACL to public-read, it's up to the user to define it properly if they work with an S3 provider with a preconfigured CDN.

When public is undefined, we don't set ACL. When it's false, we set private and when it's true, we set public-read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant