]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: fix permissions on `balancer execute`
authorJohn Spray <john.spray@redhat.com>
Thu, 2 Aug 2018 10:42:21 +0000 (11:42 +0100)
committerPrashant D <pdhange@redhat.com>
Thu, 16 Aug 2018 04:23:56 +0000 (00:23 -0400)
Fixes: http://tracker.ceph.com/issues/25345
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit f63ed1af4f4ed72419c21b1b1e39d1bd373f401d)

src/pybind/mgr/balancer/module.py

index 9156d879e825d33e07718b2050e6ddc3a8a78eaf..ea602d09fb5a9854e19c541fbb5a2bcf3edbdfd0 100644 (file)
@@ -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