]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: bucket link/unlink support accounts 60982/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 25 Nov 2024 17:24:07 +0000 (12:24 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 6 Dec 2024 16:44:09 +0000 (11:44 -0500)
commitee641d9f7f876d2f038fe39f1accfdf743ae2f06
treee8be5f8ff92e7f3c31cf7646fc7cfd31bd8b569c
parent2e6e0fbf4fb88173e5804431557a61e2c5123a2e
radosgw-admin: bucket link/unlink support accounts

buckets are owned by accounts instead of their individual users

add support for --account-id to 'bucket link' and 'bucket unlink'

reject 'bucket link' when the requested --uid belongs to an account

Fixes: https://tracker.ceph.com/issues/69042
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0e73c9dd66e4aa32f5fc59d7aa8074614f25553e)
qa/tasks/radosgw_admin.py
src/rgw/driver/rados/rgw_bucket.cc
src/rgw/driver/rados/rgw_bucket.h
src/rgw/driver/rados/rgw_rest_bucket.cc