Open
Description
We were previously (on 0.x
) creating the containers / buckets automatically when using adapters. This can lead to security flaws in case where the bucket is not created as the adapter's user want to.
Buckets creation is beyound Gaufrette scope and so should not be managed by Gaufrette. Buckets used by Gaufrette shoud be created by the developer (or any other way) and should be properly configured for the developer needs.
Thus, Gaufrette should not automatically create buckets when they do not exist. This will remove the create
flag passed to adapters's constructor, and the usage of an adapter on an unexisting bucket should raise an exception.
TODO
- AwsS3
- AzureBlobStorage ([1.0] do not create container for AzureBlobStorage #622)
- Ftp
- Local ([1.0] Do not automatically create the base directory for Local adapter #620)
- OpenCloud / OpenStack ([RFR] [1.x] OpenCloud adapter rewrite #533)
- PhpseclibSftp
- Update CHANGELOG / UPGRADE guide to indicate about this change