]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: RemoteApplier respects implicit tenants 58932/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 15 Jul 2024 19:39:26 +0000 (15:39 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 30 Jul 2024 17:21:37 +0000 (13:21 -0400)
commite9d7e198bb455bb56f0b559c663fbf1e15eae254
tree7bb54ea7d0ae5c1a2e38e22b83a6f1617ff5e094
parenta5d1ba1d4245d936b121b8c6e1e053a1d69871a2
rgw/auth: RemoteApplier respects implicit tenants

RemoteApplier::load_acct_info() and create_account() decide whether to
add the implicit tenant. store the resulting rgw_user for use in
get_aclowner() and get_tenant()

Fixes: https://tracker.ceph.com/issues/66937
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ddbe2c06fd7e8f7253a17a0e88f5ead0d7958148)
src/rgw/rgw_auth.cc
src/rgw/rgw_auth.h