diff options
| author | chrislu <chris.lu@gmail.com> | 2025-12-08 23:58:30 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-12-09 00:01:31 -0800 |
| commit | a3739c9c8c0c9f5ab8e5250d621bcd1a0c4bbdfc (patch) | |
| tree | 7adbb2b2868bcc123326ce53bd6d202736abfe31 /weed/s3api/s3api_server.go | |
| parent | 02a041b28d17b8eac2c466c2c53a75fd3dc1423f (diff) | |
| download | seaweedfs-a3739c9c8c0c9f5ab8e5250d621bcd1a0c4bbdfc.tar.xz seaweedfs-a3739c9c8c0c9f5ab8e5250d621bcd1a0c4bbdfc.zip | |
s3: add tests for s3:ExistingObjectTag policy conditions
Add comprehensive tests for object tag-based policy conditions:
- TestExistingObjectTagCondition: Basic tag matching scenarios
- Matching/non-matching tag values
- Missing tags, no tags, empty tags
- Multiple tags with one matching
- TestExistingObjectTagConditionMultipleTags: Multiple tag conditions
- Both tags match
- Only one tag matches
- TestExistingObjectTagDenyPolicy: Deny policies with tag conditions
- Default allow without tag
- Deny when specific tag present
Diffstat (limited to 'weed/s3api/s3api_server.go')
0 files changed, 0 insertions, 0 deletions
