From e3359db4caed5634e9b1aef3313c3609919b670b Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Sun, 9 Oct 2022 22:29:21 +0200 Subject: [PATCH] avoid security check when retrieving skin name from loops root --- browser/node.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/node.py b/browser/node.py index e1b9864..8a3387a 100755 --- a/browser/node.py +++ b/browser/node.py @@ -1103,7 +1103,9 @@ def setViewConfiguration(context, request): config = IViewConfiguratorSchema(context) skinName = config.skinName if not skinName: - skinName = context.getLoopsRoot().skinName + root = removeSecurityProxy(context.getLoopsRoot()) + skinName = root.skinName + #skinName = context.getLoopsRoot().skinName if skinName: viewAnnotations['skinName'] = skinName if config.options: