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

remove redundant read access from s3 user policies #95

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

minrk
Copy link
Collaborator

@minrk minrk commented Oct 23, 2024

The bucket ACL already grants this permission via AuthenticatedUsers, no need to repeat it a bunch of redundant permissions

@annefou this will affect what you need to write for a new bucket, since less is required

The bucket ACL already grants this permission via AuthenticatedUsers,
no need to repeat it a bunch
@minrk minrk requested a review from annefou October 23, 2024 12:35
@annefou
Copy link
Collaborator

annefou commented Oct 23, 2024

Indeed. It is much simpler! Thank you.

@minrk
Copy link
Collaborator Author

minrk commented Oct 23, 2024

In general, the Bucket ACLs and user policies are almost redundant. We shouldn't need both, but I need to do some testing to figure out if we can safely replace them. Ideally, Object Acls would be disabled (the AWS default and recommended behavior), but OVH doesn't seem to allow that.

@minrk minrk merged commit 57604cc into destination-earth:main Oct 23, 2024
1 check passed
@minrk minrk deleted the simpl branch October 23, 2024 13:08
@minrk
Copy link
Collaborator Author

minrk commented Oct 23, 2024

I think I have a way to simplify this further and also test it, PR momentarily

@annefou
Copy link
Collaborator

annefou commented Oct 23, 2024

Wow! That would be fantastic! Thank you!

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

Successfully merging this pull request may close these issues.

2 participants