mirror of
https://github.com/minio/minio.git
synced 2026-11-17 22:57:16 +00:00
Now client requests for ACL changes are honored through PutBucketACL API
This commit is contained in:
1 parent
1b411f9e86
commit
9232ce3b4e
9 files changed
+124
-5
No files matched your search
@@ -61,7 +61,10 @@ func (d donut) SetBucketMetadata(bucket string, bucketMetadata map[string]string
|
||||
if err != nil {
|
||||
return iodine.New(err, nil)
|
||||
}
|
||||
metadata[bucket] = bucketMetadata
|
||||
oldBucketMetadata := metadata[bucket]
|
||||
// TODO ignore rest of the keys for now, only mutable data is "acl"
|
||||
oldBucketMetadata["acl"] = bucketMetadata["acl"]
|
||||
metadata[bucket] = oldBucketMetadata
|
||||
return d.setDonutBucketMetadata(metadata)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user