From: John Spray Date: Thu, 2 Aug 2018 10:42:21 +0000 (+0100) Subject: mgr: fix permissions on `balancer execute` X-Git-Tag: v12.2.12~103^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a670063afa62edd23a454f4213011ea55188400a;p=ceph.git mgr: fix permissions on `balancer execute` Fixes: http://tracker.ceph.com/issues/25345 Signed-off-by: John Spray (cherry picked from commit f63ed1af4f4ed72419c21b1b1e39d1bd373f401d) --- diff --git a/src/pybind/mgr/balancer/module.py b/src/pybind/mgr/balancer/module.py index 20a0eb1e62ac..b3ee14f50870 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