Re: [Zope-dev] Bug in TransparentFolders ???
Andre Schubert wrote: > 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??? I see what you're saying. It really ought to just use "name[:1] != '_'" to cover all cases. I've made the change and I'll test it for a few days then release another version of TF. Shane ___ 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 )
Re: [Zope-dev] Bug in TransparentFolders ???
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: > > > > 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 )
[Zope-dev] Bug in TransparentFolders ???
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: 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 )