summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_sal_rados.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2024-01-26 18:20:53 +0100
committerCasey Bodley <cbodley@redhat.com>2024-04-10 19:09:15 +0200
commit44804b1d27c8cd3c0ec57cdd7be0a0deb3f89280 (patch)
treeabdbdb4a2b1dda39c0426b930c62a209ae37b841 /src/rgw/driver/rados/rgw_sal_rados.h
parentrgw/iam: add s3:Get/PutBucketOwnershipControls (diff)
downloadceph-44804b1d27c8cd3c0ec57cdd7be0a0deb3f89280.tar.xz
ceph-44804b1d27c8cd3c0ec57cdd7be0a0deb3f89280.zip
rgw/role: support Description for Create/Get/UpdateRole
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_sal_rados.h')
-rw-r--r--src/rgw/driver/rados/rgw_sal_rados.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rgw/driver/rados/rgw_sal_rados.h b/src/rgw/driver/rados/rgw_sal_rados.h
index edd977fcb33..7ba21ead5a1 100644
--- a/src/rgw/driver/rados/rgw_sal_rados.h
+++ b/src/rgw/driver/rados/rgw_sal_rados.h
@@ -329,6 +329,7 @@ class RadosStore : public StoreDriver {
rgw_account_id account_id,
std::string path="",
std::string trust_policy="",
+ std::string description="",
std::string max_session_duration_str="",
std::multimap<std::string,std::string> tags={}) override;
virtual std::unique_ptr<RGWRole> get_role(std::string id) override;
@@ -1078,9 +1079,10 @@ public:
rgw_account_id account_id,
std::string path,
std::string trust_policy,
+ std::string description,
std::string max_session_duration,
std::multimap<std::string,std::string> tags)
- : RGWRole(name, tenant, std::move(account_id), path, trust_policy, max_session_duration, tags), store(_store) {}
+ : RGWRole(name, tenant, std::move(account_id), path, trust_policy, std::move(description), max_session_duration, tags), store(_store) {}
RadosRole(RadosStore* _store, std::string id) : RGWRole(id), store(_store) {}
RadosRole(RadosStore* _store, const RGWRoleInfo& info) : RGWRole(info), store(_store) {}
RadosRole(RadosStore* _store) : store(_store) {}