Skip to content

Conversation

@antoine-de
Copy link

This default ACL is used when creating an object.

Note: I did not use a fixed list for the ACL but a String since I'm not an expert on this, and I don't really know if, for all supported services, we can restrict it the list of canned ACL.

Also note that not all s3 providers support those ACL. Amazon does, OVH also, but not minio for example (cf issue)/

I did not add any tests, as I don't really see test specific for s3 and also because minio, used in the tests do not support this.

I only tested this manually (using the python bindings, since this is what I will use), and the objects created have the right ACL. I can add tests if needed and if someone can point me how to add those.

Which issue does this PR close?

Closes #5358

Rationale for this change

Even if ACL are deprecated, they can be handy in many situations.

Are there any user-facing changes?

This adds a default_acl option while configuring a s3 operator. This ACL is used when creating a new object.

AI Usage Statement

I did not use any AI to code this.

This default ACL is used when creating an object.

apache#5358

Note: I did not use a fixed list for the ACL but a String since I'm not an expert on this, and I don't really know if, for all supported services, we can restrict it the list of [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl).
@antoine-de antoine-de requested a review from Xuanwo as a code owner February 10, 2026 10:50
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. releases-note/feat The PR implements a new feature or has a title that begins with "feat" labels Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new feature: Manage ACL on S3 Objects

1 participant