diff --git a/product/ERP5Type/Core/Folder.py b/product/ERP5Type/Core/Folder.py index 87faed2e84130e38e3d8e705445a1d13b9185f3a..b404ec95d8b848d51c773d473fe33ba39724d938 100644 --- a/product/ERP5Type/Core/Folder.py +++ b/product/ERP5Type/Core/Folder.py @@ -453,6 +453,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, def __init__(self, id): self.id = id + security.declarePublic('newContent') def newContent(self, *args, **kw): """ Create a new content """ # Create data structure if none present