From: Richard Poole Date: Tue, 14 Jan 2025 08:04:37 +0000 (+0000) Subject: rgw: allow management of `accounts` user caps X-Git-Tag: testing/wip-vshankar-testing-20250213.045228~12^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3d3380f5fe3bd479818b8b867a3e54153df43332;p=ceph-ci.git rgw: allow management of `accounts` user caps This commit enables the management of `accounts` user capabilities, as required by `RGWOp_Account_Create`, `RGWOp_Account_Modify`, etc. REST operations. Signed-off-by: Richard Poole --- diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index 6610538542c..aa09e93395e 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -2093,7 +2093,8 @@ bool RGWUserCaps::is_valid_cap_type(const string& tp) "amz-cache", "oidc-provider", "user-info-without-keys", - "ratelimit"}; + "ratelimit", + "accounts"}; for (unsigned int i = 0; i < sizeof(cap_type) / sizeof(char *); ++i) { if (tp.compare(cap_type[i]) == 0) {