From a670063afa62edd23a454f4213011ea55188400a Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 2 Aug 2018 11:42:21 +0100 Subject: [PATCH] mgr: fix permissions on `balancer execute` Fixes: http://tracker.ceph.com/issues/25345 Signed-off-by: John Spray (cherry picked from commit f63ed1af4f4ed72419c21b1b1e39d1bd373f401d) --- src/pybind/mgr/balancer/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/balancer/module.py b/src/pybind/mgr/balancer/module.py index 20a0eb1e62a..b3ee14f5087 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -266,7 +266,7 @@ class Module(MgrModule): { "cmd": "balancer execute name=plan,type=CephString", "desc": "Execute an optimization plan", - "perm": "r", + "perm": "rw", }, ] active = False -- 2.47.3