From 53384da5592e0879f333bc64739379d71e5ca8d4 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 commands and changes as per the mimic backport. --- 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 197df6ec51da..26156338fe5e 100644 --- a/src/pybind/mgr/restful/module.py +++ b/src/pybind/mgr/restful/module.py @@ -214,7 +214,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