mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
Fix minimum replication workers started (#10560)
This PR also fixes GetReplicationConfiguration permission in web-handlers.go to use bucket as resource
This commit is contained in:
@@ -1025,7 +1025,7 @@ func (web *webAPIHandlers) Upload(w http.ResponseWriter, r *http.Request) {
|
||||
BucketName: bucket,
|
||||
ConditionValues: getConditionValues(r, "", claims.AccessKey, claims.Map()),
|
||||
IsOwner: owner,
|
||||
ObjectName: object,
|
||||
ObjectName: "",
|
||||
Claims: claims.Map(),
|
||||
}) {
|
||||
replPerms = ErrNone
|
||||
|
||||
Reference in New Issue
Block a user