]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Fri, 5 Mar 2021 06:50:31 +0000 (12:20 +0530)
commit3687830bd271cd02bc5878b4e12dd8f818b94ad1
tree78f1892271a8e3f04f1514e6b60d29a627a8ff06
parente25ecc6e7583937e1cf907e04574d870ed25a11d
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>
(cherry picked from commit c02890404e47a5a95c5cc16b699306045d586c7f)
src/pybind/mgr/volumes/fs/operations/access.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py