mirror of
https://github.com/minio/minio.git
synced 2026-11-11 06:29:05 +00:00
ACL driver/storage layer support
This commit is contained in:
1 parent
c8713fd650
commit
1c0ff2c758
13 files changed
+134
-51
No files matched your search
@@ -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