]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/volumes: Disallow authorize existing auth_id
authorKotresh HR <khiremat@redhat.com>
Mon, 4 Jan 2021 13:04:54 +0000 (18:34 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 13 Jan 2021 12:58:17 +0000 (18:28 +0530)
commitc02890404e47a5a95c5cc16b699306045d586c7f
tree20346414b7e23e370ecc4feb27015d4901733a72
parent1abec3d0ca8c4fa405cdbf56c55f44f37aca9ca8
mgr/volumes: Disallow authorize existing auth_id

This patch disallow the mgr plugin to authorize the auth_id
which is not created via mgr plugin. Those auth_ids could be
created by other means for other use cases which should not be modified
via mgr plugin.

Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/pybind/mgr/volumes/fs/operations/access.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py