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 commands and changes as per the
		mimic backport.
  • Loading branch information
John Spray authored and ashishkumsingh committed Jan 3, 2019
1 parent a670063 commit 53384da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/mgr/restful/module.py
Expand Up @@ -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",
Expand Down

0 comments on commit 53384da

Please sign in to comment.