summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_pubsub.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2023-12-07 21:21:52 +0100
committerCasey Bodley <cbodley@redhat.com>2024-04-10 18:53:04 +0200
commitd82ff164505cd7a7abe6937879052ad03f1da939 (patch)
tree7fd55990667931278773fc353041a75eb19cb4c6 /src/rgw/rgw_pubsub.h
parentrgw/iam: zero-pad milliseconds for role and oidc-provider CreateDate (diff)
downloadceph-d82ff164505cd7a7abe6937879052ad03f1da939.tar.xz
ceph-d82ff164505cd7a7abe6937879052ad03f1da939.zip
rgw/auth: generalize Identity::get_role_tenant() as get_tenant()
all identities can return a tenant. rgw ops should consult the auth identity for this instead of a rgw_user or rgw::sal::User Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_pubsub.h')
-rw-r--r--src/rgw/rgw_pubsub.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/rgw/rgw_pubsub.h b/src/rgw/rgw_pubsub.h
index f03d7542b73..89b6e5d7251 100644
--- a/src/rgw/rgw_pubsub.h
+++ b/src/rgw/rgw_pubsub.h
@@ -568,11 +568,9 @@ class RGWPubSub
RGWObjVersionTracker* objv_tracker, optional_yield y) const;
public:
- RGWPubSub(rgw::sal::Driver* _driver, const std::string& tenant);
-
- RGWPubSub(rgw::sal::Driver* _driver,
- const std::string& _tenant,
- const rgw::SiteConfig& site);
+ RGWPubSub(rgw::sal::Driver* _driver,
+ const std::string& _tenant,
+ const rgw::SiteConfig& site);
class Bucket {
friend class RGWPubSub;