]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: make APIs to work with tenants
authorPete Zaitcev <zaitcev@kotori.zaitcev.us>
Wed, 11 Nov 2015 15:26:33 +0000 (08:26 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 25 Nov 2015 19:16:06 +0000 (11:16 -0800)
commitf7ca00a6e97b82787becbc15d7e7143e96b3e96d
tree207e8b70b5c298a540535b033a500c43628818a0
parent1f19b608e3c64dd18775f302be8256ef9e60a635
rgw: make APIs to work with tenants

Previous commits introduced the tenant infrastructure such as
rgw_user, but did not allow anyone to access it productively.

Done:
 - radosgw-admin
 - bucket creation, listing, deletion with non-empty tenant
 - COPY
 - ACLs
 - Using colon for S3 with URL addressing

TODO:
 - Fix S3 remapping of DNS so that period turns into colon in buckets,
   possibly using typed endpoint domains, some assuming tenants
 - Have Swift authentication to set tenant into URL, then pick it there
 - Resolve leftover XXX

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
30 files changed:
doc/radosgw/layout.rst
src/rgw/rgw_acl.h
src/rgw/rgw_acl_s3.cc
src/rgw/rgw_acl_swift.h
src/rgw/rgw_admin.cc
src/rgw/rgw_basic_types.h
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_log.cc
src/rgw/rgw_log.h
src/rgw/rgw_metadata.h
src/rgw/rgw_object_expirer_core.cc
src/rgw/rgw_object_expirer_core.h
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h
src/rgw/rgw_rest.cc
src/rgw/rgw_rest.h
src/rgw/rgw_rest_log.cc
src/rgw/rgw_rest_metadata.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_swift.cc
src/rgw/rgw_user.cc
src/rgw/rgw_user.h
src/test/rgw/test_rgw_manifest.cc
src/test/rgw/test_rgw_obj.cc