Commit 10b95c96 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Inherit appropriate title_or_id and Title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26520 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c1d49f7
......@@ -262,7 +262,7 @@ class FolderMixIn(ExtensionClass.Base):
return my_id
security.declareProtected(Permissions.View, 'hasContent')
def hasContent(self,id):
def hasContent(self, id):
return self.hasObject(id)
# Get the content
......@@ -404,6 +404,10 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn,
_edit = Base._edit
security.declareProtected( Permissions.ModifyPortalContent, 'setTitle' )
setTitle = Base.setTitle
security.declareProtected( Permissions.AccessContentsInformation, 'title_or_id' )
title_or_id = Base.title_or_id
security.declareProtected( Permissions.AccessContentsInformation, 'Title' )
Title = Base.Title
_setPropValue = Base._setPropValue
_propertyMap = Base._propertyMap # are there any others XXX ?
PUT_factory = WebDAVFolder.PUT_factory
......
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