]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix policy enforcement for GetObjectAttributes 65441/head
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 8 Sep 2025 20:26:26 +0000 (16:26 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Mon, 8 Sep 2025 20:26:26 +0000 (16:26 -0400)
commit16ab79dacbf7d8e94e70d28192c945cd79c5934c
tree4f80d6047db5e7ad8d617961412140c1d7c421d3
parent6df3fd0f6db466ccd36e7399cc0c15c7c1cf2a84
rgw: fix policy enforcement for GetObjectAttributes

Per https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object-attributes.html:

"If the bucket is not versioned, you need the s3:GetObject and s3:GetObjectAttributes permissions."

Fixes: https://tracker.ceph.com/issues/72915
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_op.h