[Kimchi-devel] [PATCH] [Wok 2/3] Bug fix: Require authentication on /logs API
Aline Manera
alinefm at linux.vnet.ibm.com
Wed Mar 2 19:17:33 UTC 2016
To access the /logs API, the user must have to be logged to Wok.
Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
src/wok/control/logs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wok/control/logs.py b/src/wok/control/logs.py
index 0eb04d7..4844b89 100644
--- a/src/wok/control/logs.py
+++ b/src/wok/control/logs.py
@@ -24,7 +24,7 @@ from wok.control.utils import get_class_name, model_fn
from wok.control.utils import UrlSubNode
- at UrlSubNode("logs")
+ at UrlSubNode("logs", True)
class Logs(SimpleCollection):
def __init__(self, model):
super(Logs, self).__init__(model)
--
2.5.0
More information about the Kimchi-devel
mailing list