From 0c1a2c7b8e4053bbb8e24f23c6086237a42107fa Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 2 Aug 2018 11:42:50 +0100 Subject: [PATCH] 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 --- src/pybind/mgr/restful/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/restful/module.py b/src/pybind/mgr/restful/module.py index 9d07d303afb..a6c9c638fe2 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", -- 2.47.3