Support new policy condition keys #532

Open
opened 2024-11-01 13:01:44 +00:00 by dkirillov · 0 comments
Member

It would be nice the following tests pass:

Describe the solution you'd like

Support new condition keys

  • s3:ExistingObjectTag
  • s3:x-amz-copy-source
  • s3:x-amz-metadata-directive

Describe alternatives you've considered

Don't support this

Additional context

Relates to TrueCloudLab/policy-engine#94

## Is your feature request related to a problem? Please describe. It would be nice the following tests pass: * [test_bucket_policy_get_obj_existing_tag](https://git.frostfs.info/TrueCloudLab/s3-tests/src/commit/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/test_s3.py#L11353) * [test_bucket_policy_get_obj_tagging_existing_tag](https://git.frostfs.info/TrueCloudLab/s3-tests/src/commit/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/test_s3.py#L11408) * [test_bucket_policy_put_obj_tagging_existing_tag](https://git.frostfs.info/TrueCloudLab/s3-tests/src/commit/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/test_s3.py#L11470) * [[test_bucket_policy_put_obj_copy_source](https://git.frostfs.info/TrueCloudLab/s3-tests/src/commit/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/test_s3.py#L11596) * [test_bucket_policy_put_obj_copy_source_meta](https://git.frostfs.info/TrueCloudLab/s3-tests/src/commit/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/test_s3.py#L11643) * [test_bucket_policy_get_obj_acl_existing_tag](https://git.frostfs.info/TrueCloudLab/s3-tests/src/commit/d245097771698774d36a0283e9ef69bf67f3ba76/s3tests_boto3/functional/test_s3.py#L12116) ## Describe the solution you'd like Support new condition keys * `s3:ExistingObjectTag` * `s3:x-amz-copy-source` * `s3:x-amz-metadata-directive` ## Describe alternatives you've considered Don't support this ## Additional context Relates to https://git.frostfs.info/TrueCloudLab/policy-engine/issues/94
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#532
No description provided.