]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Allow an implicit tenant in case of Keystone 8139/head
authorPete Zaitcev <zaitcev@kotori.zaitcev.us>
Wed, 9 Mar 2016 06:13:29 +0000 (23:13 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 15 Mar 2016 23:48:00 +0000 (16:48 -0700)
commite9259486decab52a362443d3fd3dec33b0ec654f
tree46b8230834723991078c350fb21e39e0ae4a5470
parentaf4d4018682afe40415abda2d21f53bf5e1b3f32
rgw: Allow an implicit tenant in case of Keystone

This, unfortunately, introduces possible double lookups, but
they should be cached. Also, the logic appears somewhat convoluted,
although the intent is quite simple: if you're an OpenStack user
with a Keystone authentication, we allow an implicit tenant of
the same name as the user.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Conflicts:
src/rgw/rgw_swift.cc
doc/radosgw/keystone.rst
src/common/config_opts.h
src/rgw/rgw_swift.cc
src/rgw/rgw_swift.h