]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWBucket::link supports tenant 23119/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 18 Jul 2018 20:24:24 +0000 (16:24 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 18 Jul 2018 20:35:57 +0000 (16:35 -0400)
commit1fd5320485a4d47c6da072b079dd106be82f6804
treed8ad65cbbf58a5ce42c0f406e3bcd88944e95493
parent4a00c16c4ab0f3558f59bc9562480a1bde9c739e
rgw: RGWBucket::link supports tenant

use tenant-aware helper functions to generate metadata keys/oids

this allows 'radosgw-admin bucket link' to succeed for a tenanted user,
provided that the bucket belongs to the same tenant

Fixes: http://tracker.ceph.com/issues/22666
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_bucket.cc