Commit 10410078 authored by Fabien Morin's avatar Fabien Morin

make this method public as describe in Folder.FolderMixin.newContent doc string :

"This method is public, since TypeInformation.constructInstance will perform
    the security check."


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38946 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2db239c6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment