Reviewed-by: Daniel Barboza <danielhb(a)linux.vnet.ibm.com>
On 06/18/2014 02:53 PM, CrÃstian Viana wrote:
The subdirectories "css", "js", "libs"
and "images" currently require
a login session to be accessed. Those files are simple resources, thus
they don't need to be protected.
One consequence of this behavior is that it is not possible to create a remote
template with the current security settings.
Remove the login session requirement to access the subdirectories "css",
"js", "libs" and "images".
Signed-off-by: Aline Manera <alinefm(a)br.ibm.com>
Signed-off-by: CrÃstian Viana <vianac(a)linux.vnet.ibm.com>
---
src/kimchi/config.py.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/kimchi/config.py.in b/src/kimchi/config.py.in
index 74c8fa5..4be767e 100644
--- a/src/kimchi/config.py.in
+++ b/src/kimchi/config.py.in
@@ -154,6 +154,7 @@ class UIConfig(dict):
ui_configs['/' + sub_dir] = {
'tools.staticdir.on': True,
'tools.staticdir.dir': os.path.join(paths.ui_dir, sub_dir),
+ 'tools.kimchisession.on': False,
'tools.nocache.on': False}
if sub_dir != 'images':
ui_configs['/' + sub_dir].update({