]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: utilize is_impersonating for forwarded sts requests 63043/head
authorSeena Fallah <seenafallah@gmail.com>
Mon, 28 Apr 2025 17:44:10 +0000 (19:44 +0200)
committerCasey Bodley <cbodley@redhat.com>
Tue, 29 Apr 2025 14:22:47 +0000 (10:22 -0400)
commita5cb8a4d4736af4bf210599057614a81a4c4d827
treec077ebd62cdaa8840903e96e8b22f47e351459e8
parent0719988d99bba4bd4a3d47d525ab7e3f4a5f3ca6
rgw: utilize is_impersonating for forwarded sts requests

With the introduction of is_impersonating in SysReqApplier,
RoleApplier can now use the same mechanism to mark when a request
has been forwarded by a system user on behalf of another role (e.g.,
through STS) to mark it as a system request (s->system_request).

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit 995dc6284ea32fb2c87fb8e1cf2001b0fe9f5f45)
src/rgw/rgw_auth.cc
src/rgw/rgw_auth.h
src/rgw/rgw_auth_s3.h
src/rgw/rgw_rest_s3.cc