From: John Spray Date: Thu, 2 Aug 2018 10:42:50 +0000 (+0100) Subject: mgr: tweaks to command permissions X-Git-Tag: v13.2.2~104^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0c1a2c7b8e4053bbb8e24f23c6086237a42107fa;p=ceph.git mgr: tweaks to command permissions Upgrade all selftest ops to rw, downgrade restful cert list to r. Signed-off-by: John Spray (cherry picked from commit 7602f256c47fd9782e86ba21e6ef2edc8925b87e) Conflicts: src/pybind/mgr/selftest/module.py : Removed self-test commads --- diff --git a/src/pybind/mgr/restful/module.py b/src/pybind/mgr/restful/module.py index 9d07d303afba..a6c9c638fe24 100644 --- a/src/pybind/mgr/restful/module.py +++ b/src/pybind/mgr/restful/module.py @@ -218,7 +218,7 @@ class Module(MgrModule): { "cmd": "restful list-keys", "desc": "List all API keys", - "perm": "rw" + "perm": "r" }, { "cmd": "restful create-self-signed-cert",