From f63ed1af4f4ed72419c21b1b1e39d1bd373f401d 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 --- 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 e2a4680ac1cc9..b8cbb511ab393 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -280,7 +280,7 @@ class Module(MgrModule): { "cmd": "balancer execute name=plan,type=CephString", "desc": "Execute an optimization plan", - "perm": "r", + "perm": "rw", }, ] active = False -- 2.39.5