]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/auth: expose Identity::get_account()
authorCasey Bodley <cbodley@redhat.com>
Tue, 5 Mar 2024 18:57:09 +0000 (13:57 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2024 19:34:29 +0000 (15:34 -0400)
commitdff8efba8f65cfdfcbdec35874848e50b15bfc1c
treef26514f6b56366a301c829e0e8ddab2970ed84e3
parentfe0b232c3b29ba61c1b5e0fcba5887a4e2c04ac6
rgw/auth: expose Identity::get_account()

now that all identities store an optional account, expose that to the
rest of rgw with get_account(). this cleans up lots of code that
otherwise has to deal with the rgw_owner variant

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 405f93305f0d630a784b2de18a5f263b37362434)
src/rgw/rgw_auth.cc
src/rgw/rgw_auth.h
src/rgw/rgw_auth_filters.h
src/rgw/rgw_common.cc
src/rgw/rgw_rest_iam_group.cc
src/rgw/rgw_rest_iam_user.cc
src/rgw/rgw_rest_oidc_provider.cc
src/rgw/rgw_rest_role.cc
src/rgw/rgw_rest_user_policy.cc
src/test/rgw/test_rgw_iam_policy.cc
src/test/rgw/test_rgw_lua.cc