diff --git a/backend/s3proxy/s3.go b/backend/s3proxy/s3.go index 7ab2c6fb..14fa7fcb 100644 --- a/backend/s3proxy/s3.go +++ b/backend/s3proxy/s3.go @@ -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, }, })