]> 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)
committerAshish Singh <assingh@redhat.com>
Thu, 3 Jan 2019 11:42:43 +0000 (17:12 +0530)
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 20a0eb1e62ac835d975d543e6834089266d73461..b3ee14f508701431d9765881bb90ff6668318a7b 100644 (file)
@@ -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