mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Now donut supports bucket ACL's, bringing in this support for dl.minio.io
This commit is contained in:
@@ -45,13 +45,13 @@ func (server *minioAPI) isValidOp(w http.ResponseWriter, req *http.Request, acce
|
||||
|
||||
if stripAccessKey(req) == "" && bucketMetadata.ACL.IsPrivate() {
|
||||
return true
|
||||
// Uncomment this when we have webCli
|
||||
// Uncomment this before release
|
||||
// writeErrorResponse(w, req, AccessDenied, acceptsContentType, req.URL.Path)
|
||||
// return false
|
||||
}
|
||||
if bucketMetadata.ACL.IsPublicRead() && req.Method == "PUT" {
|
||||
return true
|
||||
// Uncomment this when we have webCli
|
||||
// Uncomment this before release
|
||||
// writeErrorResponse(w, req, AccessDenied, acceptsContentType, req.URL.Path)
|
||||
// return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user