fix(s3): add x-amz-grant-* headers to policy condition values (#2031)

This commit is contained in:
安正超
2026-03-01 19:00:04 +08:00
committed by GitHub
parent e5e1010c31
commit 798e620088
4 changed files with 62 additions and 10 deletions
+3 -2
View File
@@ -21,7 +21,7 @@
# - Object ownership: Bucket ownership controls
#
# - SSE-KMS: KMS-related edge cases
# - Bucket Policy: Multipart upload authorization, SSE condition keys
# - Bucket Policy: Multipart upload authorization, SSE condition keys, grant header conditions
# - Versioning: Concurrent multi-object delete
# - ACL: Bucket and Object ACL
# - Object Copy: Same/cross bucket, metadata, versioning
@@ -36,7 +36,7 @@
# - DeleteObject: Proper NoSuchBucket for deleted buckets
# - Multipart Copy: InvalidRange when CopySourceRange exceeds source size
#
# Total: 394 tests
# Total: 395 tests
test_basic_key_count
test_bucket_create_naming_bad_short_one
@@ -227,6 +227,7 @@ test_bucket_policy_another_bucket
test_bucket_policy_allow_notprincipal
test_bucket_policy_multipart
test_bucket_policy_put_obj_acl
test_bucket_policy_put_obj_grant
test_bucket_policy_put_obj_kms_s3
test_bucket_policy_put_obj_s3_kms
test_object_presigned_put_object_with_acl
-1
View File
@@ -28,5 +28,4 @@ test_lifecycle_transition_encrypted
# Tests with known issues (need further investigation)
test_bucket_policy_different_tenant
test_bucket_policy_put_obj_grant
test_bucket_policy_tenanted_bucket