]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: role: use the list roles from role svc classes
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 26 Oct 2020 14:53:51 +0000 (15:53 +0100)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 6 Sep 2022 04:54:24 +0000 (10:24 +0530)
commitd3340517407255ef5546200b6a40c538f97da092
treea2954ec655b1c99dd85cb61143c3a27af146348b
parentf7df0fa572e2caadd715e40aa067f720501625e6
rgw: role: use the list roles from role svc classes

This keeps the implementation of storage seperate from the RGWRole class. Also
drop the get_roles_by_path_prefix static function as this is currently
implemented in the backend and can be directly accessed from role ctl classes.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 846a0e4ec96d2e06fe96984d7be20d16bbb80c8f)
src/rgw/rgw_role.cc
src/rgw/rgw_role.h