Skip to content

Commit

Permalink
mgr: tweaks to command permissions
Browse files Browse the repository at this point in the history
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 7602f25)

Conflicts:
	src/pybind/mgr/selftest/module.py : Removed self-test commads
  • Loading branch information
John Spray authored and Prashant D committed Aug 16, 2018
1 parent 9ef37c4 commit 0c1a2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/mgr/restful/module.py
Expand Up @@ -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",
Expand Down

0 comments on commit 0c1a2c7

Please sign in to comment.