forked from TrueCloudLab/frostfs-s3-gw
parent
bd5fd041b7
commit
dd0d21b690
1 changed files with 1 additions and 1 deletions
|
@ -1151,7 +1151,7 @@ func (h *handler) encodeObjectACL(bucketACL *layer.BucketACL, objectName string)
|
||||||
var found bool
|
var found bool
|
||||||
for _, filter := range record.Filters() {
|
for _, filter := range record.Filters() {
|
||||||
if filter.Matcher() == eacl.MatchStringEqual &&
|
if filter.Matcher() == eacl.MatchStringEqual &&
|
||||||
filter.Key() == object.AttributeFileName && filter.Key() == objectName {
|
filter.Key() == object.AttributeFileName && filter.Value() == objectName {
|
||||||
found = true
|
found = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue