]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: tweaks to command permissions 23583/head
authorJohn Spray <john.spray@redhat.com>
Thu, 2 Aug 2018 10:42:50 +0000 (11:42 +0100)
committerPrashant D <pdhange@redhat.com>
Thu, 16 Aug 2018 04:25:03 +0000 (00:25 -0400)
Upgrade all selftest ops to rw, downgrade restful
cert list to r.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 7602f256c47fd9782e86ba21e6ef2edc8925b87e)

Conflicts:
src/pybind/mgr/selftest/module.py : Removed self-test commads

src/pybind/mgr/restful/module.py

index 9d07d303afbae368d0481ea7287e6c23136e8579..a6c9c638fe247c572d1f8699ee38a10fb93db9a5 100644 (file)
@@ -218,7 +218,7 @@ class Module(MgrModule):
         {
             "cmd": "restful list-keys",
             "desc": "List all API keys",
-            "perm": "rw"
+            "perm": "r"
         },
         {
             "cmd": "restful create-self-signed-cert",