Skip to content

[1.0] Do not create containers / buckets automatically #618

Open
@nicolasmure

Description

@nicolasmure

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions