]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: test session authorization against specific pools/namespaces
authorJason Dillaman <dillaman@redhat.com>
Mon, 14 Oct 2019 16:34:35 +0000 (12:34 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Jan 2020 18:59:36 +0000 (13:59 -0500)
commit6d257164754fb84ec276d6753cc5bd8eddf821d8
treeb69aaf8438609d5ef236761c720e92fddc86492a
parent3940af0598c89b3ecaa703d7d1e2290324e5792b
pybind/mgr: test session authorization against specific pools/namespaces

Use the optional "pool" and "namespace" constraints for the RBD cap
profiles to ensure the user has access to touch the specified
pool/namespace combo.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit cd71413f57fa2285e9349a07449e3fcf345eeb48)
src/pybind/mgr/rbd_support/module.py