Skip to content

Commit 2a9e9ed

Browse files
authored
Merge pull request ceph#61358 from richardpoole/main
rgw: allow management of `accounts` user caps Reviewed-by: Casey Bodley <[email protected]>
2 parents 70c4dee + 3eaea79 commit 2a9e9ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/radosgw/admin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ form:
383383

384384
.. prompt:: bash
385385

386-
--caps="[users|buckets|metadata|usage|zone|amz-cache|info|bilog|mdlog|datalog|user-policy|oidc-provider|roles|ratelimit|user-info-without-keys]=[\*|read|write|read, write]"
386+
--caps="[users|buckets|metadata|usage|zone|amz-cache|info|bilog|mdlog|datalog|user-policy|oidc-provider|roles|ratelimit|user-info-without-keys|accounts]=[\*|read|write|read, write]"
387387

388388
For example:
389389

src/rgw/rgw_common.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,8 @@ bool RGWUserCaps::is_valid_cap_type(const string& tp)
21152115
"amz-cache",
21162116
"oidc-provider",
21172117
"user-info-without-keys",
2118-
"ratelimit"};
2118+
"ratelimit",
2119+
"accounts"};
21192120

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

0 commit comments

Comments
 (0)