avoid security check when retrieving skin name from loops root
This commit is contained in:
parent
c9c537af23
commit
e3359db4ca
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue