]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: give hint via header for perm evaluation in GetObj
authorSeena Fallah <seenafallah@gmail.com>
Fri, 28 Mar 2025 20:48:34 +0000 (21:48 +0100)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Apr 2025 14:22:47 +0000 (10:22 -0400)
commit2edd51ba0923dbc31ae6d14886db741227916e13
tree7a7d31454ef0c8a00ebc7138aa585c8cd26c9188
parent92c2bce916fb2dca4c184c9c46d81b550801b4cd
rgw: give hint via header for perm evaluation in GetObj

Return `Rgwx-Perm-Checked` header as a hint for the destination zone
to know whether the perms where considered or not.
This is just a backward compatibility for upgrade and can be dropped
in T+2 release.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 84a8d1ba0ed4a9a1abc80c1b839f95aaeef5f27b)
src/rgw/rgw_rest_s3.cc