diff options
| author | chrislu <chris.lu@gmail.com> | 2025-12-09 07:54:14 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-12-09 07:54:14 -0800 |
| commit | 38e5871c3bc42da13057cfcb015bf49c6308c4dd (patch) | |
| tree | 42d35b8c043c5458445e1f270625e8184ff92e12 | |
| parent | dbb1e4b182c0e77af02729f3a52dfb3a52116089 (diff) | |
| download | seaweedfs-38e5871c3bc42da13057cfcb015bf49c6308c4dd.tar.xz seaweedfs-38e5871c3bc42da13057cfcb015bf49c6308c4dd.zip | |
Fix HeadObject action name in docs for consistency
Change 'HeadObject' to 's3:HeadObject' to match other action names.
| -rw-r--r-- | weed/s3api/policy_engine/README_POLICY_ENGINE.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/policy_engine/README_POLICY_ENGINE.md b/weed/s3api/policy_engine/README_POLICY_ENGINE.md index ddd872cfd..9a5ab3b3c 100644 --- a/weed/s3api/policy_engine/README_POLICY_ENGINE.md +++ b/weed/s3api/policy_engine/README_POLICY_ENGINE.md @@ -195,7 +195,7 @@ This allows anonymous access only to objects that have a tag `status=public`. Tag-based conditions (`s3:ExistingObjectTag/<key>`) are evaluated for the following operations: - `s3:GetObject` (GET object) - `s3:GetObjectVersion` (GET object with versionId) -- `HeadObject` (HEAD object) +- `s3:HeadObject` (HEAD object) Note: For these conditions to be evaluated, the object must exist and the policy engine re-checks access after fetching the object metadata. |
