revoke removal of security check
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3440 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
41a623145f
commit
5518ad648a
1 changed files with 2 additions and 1 deletions
|
@ -788,7 +788,8 @@ class NodeTraverser(ItemTraverser):
|
||||||
def publishTraverse(self, request, name):
|
def publishTraverse(self, request, name):
|
||||||
viewAnnotations = request.annotations.setdefault('loops.view', {})
|
viewAnnotations = request.annotations.setdefault('loops.view', {})
|
||||||
viewAnnotations['node'] = self.context
|
viewAnnotations['node'] = self.context
|
||||||
context = removeSecurityProxy(self.context)
|
#context = removeSecurityProxy(self.context)
|
||||||
|
context = self.context
|
||||||
if context.nodeType == 'menu':
|
if context.nodeType == 'menu':
|
||||||
setViewConfiguration(context, request)
|
setViewConfiguration(context, request)
|
||||||
if name == '.loops':
|
if name == '.loops':
|
||||||
|
|
Loading…
Add table
Reference in a new issue