]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: add new 'allow module' cap to MgrCap
authorJason Dillaman <dillaman@redhat.com>
Fri, 11 Oct 2019 15:25:56 +0000 (11:25 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 29 Oct 2019 12:35:03 +0000 (08:35 -0400)
commit3463613bd43d5fb7f8094c3b9b8a3163325ff196
tree436a737c621feeed9d63721a820453d41d0b644d
parentdbb1b54d492134b677b4e239415c0579e34032b4
mgr: add new 'allow module' cap to MgrCap

This allows specific python add-on modules to be whitelisted instead
of manually adding each command exported by the module.

  allow module {module-name} {access-spec}

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
doc/rados/operations/user-management.rst
src/mgr/DaemonServer.cc
src/mgr/MgrCap.cc
src/mgr/MgrCap.h
src/test/mgr/test_mgrcap.cc