Superbalist / flysystem-google-cloud-storage

Flysystem Adapter for Google Cloud Storage
MIT License
265 stars 105 forks source link

Uniform access rules on upload #120

Open Fredthelead opened 3 years ago

Fredthelead commented 3 years ago

Based on this PR #114, but also updated the phpunit tests.

Currently the code forces an ACL on the files, this doesn't work if the bucket has uniform access policies set. So this PR just checks whether the bucket has uniform access before setting the ACL.