S3 Proxy PutBucketAcl reference bug (#341)

* feat: implemented the logic to run integration tests separately

* fix: Fixes #336, fixed s3 proxy PutBucketAcl action's referance bug
This commit is contained in:
Jon Austin
2023-12-14 09:43:02 -08:00
committed by GitHub
parent 206231f27b
commit 90bb43f7c9
+2 -1
View File
@@ -472,10 +472,11 @@ func (s S3be) PutBucketAcl(ctx context.Context, bucket string, data []byte) erro
}
for _, el := range acl.Grantees {
acc := el.Access
input.AccessControlPolicy.Grants = append(input.AccessControlPolicy.Grants, types.Grant{
Permission: el.Permission,
Grantee: &types.Grantee{
ID: &el.Access,
ID: &acc,
Type: types.TypeCanonicalUser,
},
})