]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr: tweaks to command permissions 25768/head
authorJohn Spray <john.spray@redhat.com>
Thu, 2 Aug 2018 10:42:50 +0000 (11:42 +0100)
committerAshish Singh <assingh@redhat.com>
Thu, 3 Jan 2019 11:47:38 +0000 (17:17 +0530)
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 commands and changes as per the
mimic backport.

src/pybind/mgr/restful/module.py

index 197df6ec51dafd7cc82806f40e07c646deb38301..26156338fe5ec741e4077cfecbf403f8be6653f2 100644 (file)
@@ -214,7 +214,7 @@ class Module(MgrModule):
         {
             "cmd": "restful list-keys",
             "desc": "List all API keys",
-            "perm": "rw"
+            "perm": "r"
         },
         {
             "cmd": "restful create-self-signed-cert",