Skip to content

Commit 3d3380f

Browse files
committed
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 <[email protected]>
1 parent 262221d commit 3d3380f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rgw/rgw_common.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2093,7 +2093,8 @@ bool RGWUserCaps::is_valid_cap_type(const string& tp)
20932093
"amz-cache",
20942094
"oidc-provider",
20952095
"user-info-without-keys",
2096-
"ratelimit"};
2096+
"ratelimit",
2097+
"accounts"};
20972098

20982099
for (unsigned int i = 0; i < sizeof(cap_type) / sizeof(char *); ++i) {
20992100
if (tp.compare(cap_type[i]) == 0) {

0 commit comments

Comments
 (0)