]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fixing tempest ObjectTestACLs and ObjectACLsNegativeTest cases 62586/head
authorAlexey Odinokov <alexey.odinokov.82@gmail.com>
Thu, 13 Mar 2025 20:35:55 +0000 (15:35 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 31 Mar 2025 20:35:40 +0000 (16:35 -0400)
commitb5e1196f1369b4bd17952cf5db943848a35b6471
treebcf0fc4cbba28b4d314247089be3c00a3da91a18
parent4fc56063c232ba1bc00c45c1ba8b33e65553c1a2
rgw: fixing tempest ObjectTestACLs and ObjectACLsNegativeTest cases

The issue was introduced in https://github.com/ceph/ceph/commit/d82ff164505cd7a7abe6937879052ad03f1da939
and backported to Squid by: https://github.com/ceph/ceph/commit/f0fb48d19409c012ae8422304b63ca013c1055db

As a result rgw couldn't find the correct bucket in case the user from different tenant
was given access to the container using ACL, because rgw started to look inside the
user's tenant, but not the tenant from the request.
This partial revert helps to fix the issue

Signed-off-by: Alexey Odinokov <alexey.odinokov.82@gmail.com>
(cherry picked from commit a413adcf8b281f50a72d3fa4dcb30302e599be8c)
src/rgw/rgw_rest_swift.cc