]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Mon, 6 Jun 2022 10:49:43 +0000 (16:19 +0530)
commit846a0e4ec96d2e06fe96984d7be20d16bbb80c8f
treea3e8ad37de85522048152b1098ad3ecd012571f1
parent35c0e1315cc29af1c99edaf6d0acdc41e0c24fae
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>
src/rgw/rgw_role.cc
src/rgw/rgw_role.h