For Workes & Pages, what is the name of the domain?
<irrelevant, we use R2 bucket>
What is the issue or error you’re encountering
We want to prevent accidental modification of files in R2
What steps have you taken to resolve the issue?
Posted in developers > storage, as I don’t see a category for R2.
I’ve checked documentation, I don’t see a way to set up policy that would protect file from accidental overwrites.
Developer should still be able to create new files
Possible solutions:
- prevent deletion/overwrite of files in R2 bucket, require additional privileges
- prevent only overwrite (this is optimal, developers would need to first explicitly delete file to create a new one)
Thanks!