mirror of
https://github.com/minio/minio.git
synced 2025-04-17 01:10:29 -04:00
Disable verifying ACL until we get webcli up and running
This commit is contained in:
parent
5ddd624a95
commit
a5729e8c02
@ -42,13 +42,18 @@ func (server *minioAPI) isValidOp(w http.ResponseWriter, req *http.Request, acce
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
case nil:
|
case nil:
|
||||||
|
|
||||||
if stripAccessKey(req) == "" && bucketMetadata.ACL.IsPrivate() {
|
if stripAccessKey(req) == "" && bucketMetadata.ACL.IsPrivate() {
|
||||||
writeErrorResponse(w, req, AccessDenied, acceptsContentType, req.URL.Path)
|
return true
|
||||||
return false
|
// Uncomment this when we have webCli
|
||||||
|
// writeErrorResponse(w, req, AccessDenied, acceptsContentType, req.URL.Path)
|
||||||
|
// return false
|
||||||
}
|
}
|
||||||
if bucketMetadata.ACL.IsPublicRead() && req.Method == "PUT" {
|
if bucketMetadata.ACL.IsPublicRead() && req.Method == "PUT" {
|
||||||
writeErrorResponse(w, req, AccessDenied, acceptsContentType, req.URL.Path)
|
return true
|
||||||
return false
|
// Uncomment this when we have webCli
|
||||||
|
// writeErrorResponse(w, req, AccessDenied, acceptsContentType, req.URL.Path)
|
||||||
|
// return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user