mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
ACL driver/storage layer support
This commit is contained in:
@@ -79,6 +79,10 @@ func (h vHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
writeErrorResponse(w, r, AccessDenied, acceptsContentType, r.URL.Path)
|
||||
return
|
||||
}
|
||||
if r.Method == "PUT" && bucketMetadata.ACL.IsPublicRead() {
|
||||
writeErrorResponse(w, r, AccessDenied, acceptsContentType, r.URL.Path)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
switch true {
|
||||
|
||||
Reference in New Issue
Block a user