]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Tue, 29 Oct 2019 12:35:03 +0000 (08:35 -0400)
commitcd71413f57fa2285e9349a07449e3fcf345eeb48
tree43e544df08ea9442f8c22f0e1405b8b515aef770
parent282c31c383856b45caadcefb876a71e39fe4b219
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>
src/pybind/mgr/rbd_support/module.py