]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: remove user-caps from RGWOp_User_Modify
authorJiffin Tony Thottan <jthottan@redhat.com>
Wed, 15 Sep 2021 09:47:30 +0000 (15:17 +0530)
committerJiffin Tony Thottan <jthottan@redhat.com>
Wed, 15 Sep 2021 16:44:14 +0000 (22:14 +0530)
commit8ff162e7f9f88fb312f24a8a6f7ad75eab229250
tree73021f7fd8a5fb654a7dd51f6b427ea0dde049d9
parent84895674cfcf54e5a620d64a88d2a1fad1476b02
rgw: remove user-caps from RGWOp_User_Modify

The adminOps API for Modify User checks for user-caps value in the
request but does handle that in later code path. Caps have seperate apis
add_cap and remove_cap already present to modify exisitng caps in user.
Hence removing unused cap variables in RGWOp_User_Modify::execute().

Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
doc/radosgw/adminops.rst
src/rgw/rgw_rest_user.cc