Hi,

after searching the soures if found a way the point of disaster.
in TransparentFolderPatch i changed the line:
if tpids and not self._v_no_transparent and name[:3] != '_p_' :
to:
if tpids and not self._v_no_transparent and name[:3] != '_p_' and
name[-11:] != '_Permission':
which means to me the if there is a TransparentFolder then don't acquire
its Permissions only Acquire its Objects.
Is this right or did i forgot something???

thanks as



Andre Schubert schrieb:

> Hi all,
>
> i think i have found a bug in using TransparentFolders.
> Let it explain step by step.
> First the Structure:
>
> Folder_A
>     Folder_B_Transparent
>
> You have Folder( Folder_A )  and create a new TransparentFolder
> Folder_B_Transparent in Folder_A.
> Then go to the SecurityManagement of the Folder_B_Transparent  and
> Disable the acquire permission setting of any permission(s),
> maybe Use MailHost Service or so, and save the changes.
> Then go Back to the Folder_A and try to open the SecurityTab of
> Folder_A.
> I got the following error only if any acquire permission setting is
> disabled in Folder_B_Transparent:
>
> <!--
> Traceback (innermost last):
>   File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 223,
> 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/Shared/DC/Scripts/Bindings.py, line
> 324, in __call__
>     (Object: _normal_manage_access)
>   File /usr/share/zope/lib/python/Shared/DC/Scripts/Bindings.py, line
> 354, in _bindAndExec
>     (Object: _normal_manage_access)
>   File /usr/share/zope/lib/python/App/special_dtml.py, line 236, in
> _exec
>     (Object: _normal_manage_access)
>   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_With.py,
> line 146, in render
>     (Object: _.namespace(valid_roles=valid_roles()))
>   File /usr/lib/python1.5/site-packages/DocumentTemplate/DT_In.py, line
> 650, in renderwob
>     (Object: permission_settings)
>   File /usr/share/zope/lib/python/AccessControl/Role.py, line 182, in
> permission_settings
>     (Object: Traversable)
>   File /usr/share/zope/lib/python/AccessControl/Role.py, line 177, in
> <lambda>
> AttributeError: (see above)
> -->
>
> thanks, as
>
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to