Add support for setting a default policy when creating buckets for MinIO
In comparison to other S3 implementations, MinIO follows an alternative process to setting default access lists (ACL).
Many S3 implementations (AWS, Ceph, OpenStack Swift) allow for the setting of a default ACL on the entire bucket. MinIO chooses not implement this and instead encourages users to set a default wildcard policy (*
).
This means that during the setup of public bucket instances on MinIO (static files, Sonador media), that the files will be copied, but that they cannot be read. The storage instances should be modified to look for the type of storage and seed a default policy if it is public-read
.