summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/daos
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2024-01-23 15:22:55 +0100
committerCasey Bodley <cbodley@redhat.com>2024-04-10 19:09:15 +0200
commit0571ca82d4c243922389a850d08ed052a6cb66fd (patch)
tree9c2b24b0831cde1d372656c5b66a1ff243016ab8 /src/rgw/driver/daos
parentrgw/role: separate dump_iam_role() for iam api (diff)
downloadceph-0571ca82d4c243922389a850d08ed052a6cb66fd.tar.xz
ceph-0571ca82d4c243922389a850d08ed052a6cb66fd.zip
rgw/role: role APIs support account users
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/daos')
-rw-r--r--src/rgw/driver/daos/rgw_sal_daos.cc2
-rw-r--r--src/rgw/driver/daos/rgw_sal_daos.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/driver/daos/rgw_sal_daos.cc b/src/rgw/driver/daos/rgw_sal_daos.cc
index 75e85f20749..86529befbaa 100644
--- a/src/rgw/driver/daos/rgw_sal_daos.cc
+++ b/src/rgw/driver/daos/rgw_sal_daos.cc
@@ -2078,7 +2078,7 @@ int DaosMultipartWriter::complete(
}
std::unique_ptr<RGWRole> DaosStore::get_role(
- std::string name, std::string tenant, std::string path,
+ std::string name, std::string tenant, rgw_account_id account_id, std::string path,
std::string trust_policy, std::string max_session_duration_str,
std::multimap<std::string, std::string> tags) {
RGWRole* p = nullptr;
diff --git a/src/rgw/driver/daos/rgw_sal_daos.h b/src/rgw/driver/daos/rgw_sal_daos.h
index 3d544673447..2b61347b807 100644
--- a/src/rgw/driver/daos/rgw_sal_daos.h
+++ b/src/rgw/driver/daos/rgw_sal_daos.h
@@ -994,7 +994,7 @@ class DaosStore : public StoreDriver {
std::unique_ptr<LuaManager> get_lua_manager(const DoutPrefixProvider *dpp = nullptr, const std::string& luarocks_path = "") override;
virtual std::unique_ptr<RGWRole> get_role(
- std::string name, std::string tenant, std::string path = "",
+ std::string name, std::string tenant, rgw_account_id account_id, std::string path = "",
std::string trust_policy = "", std::string max_session_duration_str = "",
std::multimap<std::string, std::string> tags = {}) override;
virtual std::unique_ptr<RGWRole> get_role(const RGWRoleInfo& info) override;