diff options
| author | chrislu <chris.lu@gmail.com> | 2025-12-08 23:58:22 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-12-09 00:01:31 -0800 |
| commit | 02a041b28d17b8eac2c466c2c53a75fd3dc1423f (patch) | |
| tree | a0f2127f40b84b3e61035c2569fda40779b1d7fa /postgres-examples/test_client.py | |
| parent | c6721bb18d8f70ec9e86b6aa043b488d2d2f0239 (diff) | |
| download | seaweedfs-02a041b28d17b8eac2c466c2c53a75fd3dc1423f.tar.xz seaweedfs-02a041b28d17b8eac2c466c2c53a75fd3dc1423f.zip | |
s3: update EvaluatePolicy to accept object entry for tag conditions
Update BucketPolicyEngine.EvaluatePolicy to accept objectEntry parameter
(entry.Extended metadata) for evaluating tag-based policy conditions.
Changes:
- Add objectEntry parameter to EvaluatePolicy method
- Update callers in auth_credentials.go and s3api_bucket_handlers.go
- Pass nil for objectEntry in auth layer (entry fetched later in handlers)
For tag-based conditions to work, handlers should call EvaluatePolicy
with the object's entry.Extended after fetching the entry from filer.
Diffstat (limited to 'postgres-examples/test_client.py')
0 files changed, 0 insertions, 0 deletions
