feat: Closes #441, Added access control integration tests, fixed some bugs in bucket policy and acl access checking flow

This commit is contained in:
jonaustin09
2024-03-28 14:52:56 -04:00
parent 0011ccd80e
commit e6203c5765
8 changed files with 376 additions and 49 deletions
+2 -1
View File
@@ -1728,9 +1728,10 @@ func (p *Posix) PutBucketTagging(_ context.Context, bucket string, tags map[stri
if tags == nil {
err = xattr.Remove(bucket, "user."+tagHdr)
if err != nil {
if err != nil && !isNoAttr(err) {
return fmt.Errorf("remove tags: %w", err)
}
return nil
}