[Zope-dev] TransparentFolderPatch and Security
Andre Schubert
andre.schubert@geyer.kabeljournal.de
Thu, 14 Jun 2001 16:40:45 +0200
Hi all,
I have found a bug with Transpüarent FolderPatch and ZopeSecurity.
Let me explain my structure.
root:
folder 1:
foo:
bar:
foobar:
foo 1:
bar 1:
Let me say that folder 1 is a normal Folder, foo and bar and foo 1 and
bar 1 are orignal TransparentFolders and foobar is my own Product which
is a Foder with
_is_transparent=1.
The problem is, that ONLY if i want view the Security-Tab in folder 1
the following error occurs:
<!--
Traceback (innermost last):
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 222,
in publish_module
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 187,
in publish
File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 171,
in publish
File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160,
in mapply
(Object: manage_access)
File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 112,
in call_object
(Object: manage_access)
File /usr/share/zope/lib/python/AccessControl/Role.py, line 257, in
manage_access
(Object: Traversable)
File /usr/share/zope/lib/python/App/special_dtml.py, line 120, in
__call__
(Object: access)
File
/usr/share/zope_2.2/Zope-2.2.0-src/lib/python/Products/ZDebug/DTMLLocator.py,
line 103, in __call__
(Object: access)
File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: access)
File
/usr/share/zope_2.2/Zope-2.2.0-src/lib/python/Products/ZDebug/DTMLDebug.py,
line 288, in debug_render_blocks
File
/usr/share/zope_2.2/Zope-2.2.0-src/lib/python/Products/ZDebug/DTMLDebug.py,
line 286, in debug_render_blocks
File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_With.py,
line 146, in render
(Object: _.namespace(valid_roles=valid_roles()))
File
/usr/share/zope_2.2/Zope-2.2.0-src/lib/python/Products/ZDebug/DTMLDebug.py,
line 288, in debug_render_blocks
File
/usr/share/zope_2.2/Zope-2.2.0-src/lib/python/Products/ZDebug/DTMLDebug.py,
line 221, in debugException
(Object: renderwob)
File
/usr/share/zope_2.2/Zope-2.2.0-src/lib/python/Products/ZDebug/DTMLDebug.py,
line 286, in debug_render_blocks
File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_In.py, line
630, in renderwob
(Object: permission_settings)
File /usr/share/zope/lib/python/AccessControl/Role.py, line 183, in
permission_settings
(Object: Traversable)
File /usr/share/zope/lib/python/AccessControl/Role.py, line 178, in
<lambda>
AttributeError: (see above)
-->
can anyone help or explain me what happens
thanks as