diff --git a/product/ERP5Type/Document/Folder.py b/product/ERP5Type/Document/Folder.py index 154a3c8f02d385deca6264b8693bb2fc06e854a1..5302d3ae407401fa8d2ef12f0c8e84921f1d6b1c 100755 --- a/product/ERP5Type/Document/Folder.py +++ b/product/ERP5Type/Document/Folder.py @@ -30,7 +30,6 @@ from AccessControl import ClassSecurityInfo from Acquisition import aq_base, aq_self import ExtensionClass -from OFS.CopySupport import CopyContainer as OriginalCopyContainer from Products.CMFCore.utils import _getAuthenticatedUser from Products.ERP5Type.Base import Base @@ -55,7 +54,7 @@ def dummyFilter(object,REQUEST=None): def dummyTestAfter(object,REQUEST=None): return [] -class FolderMixIn(ExtensionClass.Base): +class FolderMixIn(ExtensionClass.Base, CopyContainer): # Declarative security security = ClassSecurityInfo() @@ -298,9 +297,6 @@ be a problem).""" _setPropValue = Base._setPropValue _propertyMap = Base._propertyMap # are there any others XXX ? - # CPS patch circumvent - manage_renameObject = OriginalCopyContainer.manage_renameObject - #security.declareProtected( Permissions.DeletePortalContent, 'manage_delObjects' ) #manage_delObjects = CopyContainer.manage_delObjects