From: John Spray Date: Thu, 2 Aug 2018 10:42:21 +0000 (+0100) Subject: mgr: fix permissions on `balancer execute` X-Git-Tag: v13.2.2~104^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9ef37c42da8eb35f9213e2d00b4b50dfda656e4a;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 9156d879e825..ea602d09fb5a 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -275,7 +275,7 @@ class Module(MgrModule): { "cmd": "balancer execute name=plan,type=CephString", "desc": "Execute an optimization plan", - "perm": "r", + "perm": "rw", }, ] active = False