]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/ceph_volume_client: Preserve existing caps while authorize/deauthorize auth-id
authorKotresh HR <khiremat@redhat.com>
Thu, 26 Nov 2020 09:18:16 +0000 (14:48 +0530)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 11 Dec 2020 03:51:52 +0000 (19:51 -0800)
commit47100e528ef77e7e82dc9877424243dc6a7e7533
tree71fbe7cea1551119969bbdb163f04af4b70e5e3c
parent3a85d2d04028a323952a31d18cdbefb710be2e2b
pybind/ceph_volume_client: Preserve existing caps while authorize/deauthorize auth-id

Authorize/Deauthorize used to overwrite the caps of auth-id which would
end up deleting existing caps. This patch fixes the same by retaining
the existing caps by appending or deleting the new caps as needed.

Fixes: https://tracker.ceph.com/issues/48555
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/pybind/ceph_volume_client.py