[Kimchi-devel] [PATCH 5/5] Limit REST API /host to user with sudo rights.
Leonardo Garcia
lagarcia at linux.vnet.ibm.com
Mon Feb 10 02:32:34 UTC 2014
From: Leonardo Garcia <lagarcia at br.ibm.com>
Signed-off-by: Leonardo Garcia <lagarcia at br.ibm.com>
---
src/kimchi/control/host.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kimchi/control/host.py b/src/kimchi/control/host.py
index 053c822..6e0cbdb 100644
--- a/src/kimchi/control/host.py
+++ b/src/kimchi/control/host.py
@@ -27,7 +27,7 @@ from kimchi.control.base import Collection, Resource
from kimchi.control.utils import UrlSubNode
- at UrlSubNode("host", True)
+ at UrlSubNode("host", True, True)
class Host(Resource):
def __init__(self, model, id=None):
super(Host, self).__init__(model, id)
--
1.8.5.3
More information about the Kimchi-devel
mailing list