]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw : add check for tenant provided in RGWCreateRole 43270/head
authorcao.leilc <cao.leilc@inspur.com>
Thu, 17 Jun 2021 12:04:23 +0000 (20:04 +0800)
committerCory Snyder <csnyder@iland.com>
Wed, 29 Sep 2021 14:34:42 +0000 (10:34 -0400)
commitdb98361578ecc48ce76a2d734e1d201f6cf7772f
tree13468f69e1552584104c2df19c6b805d1464c233
parent9b3b2d9ad8f994344037d6f85fdf6a5ced74aec9
rgw : add check for tenant provided in RGWCreateRole

Fixes: https://tracker.ceph.com/issues/51206
Signed-off-by: caolei <halei15848934852@163.com>
(cherry picked from commit 3c99ac14080c9f5b1611c9bbe4a223a9fd2927a0)

Conflicts:
src/rgw/rgw_rest_role.cc

- Octopus constructs role explicitly vs. using store->get_role(), and does not wrap in a unique_ptr
src/rgw/rgw_rest_role.cc