Commit 5820860d authored by Jérome Perrin's avatar Jérome Perrin

ERP5Site: define ERP5Site.getOriginalDocument

parent 18b4a136
...@@ -662,6 +662,11 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook ...@@ -662,6 +662,11 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook
def getPortalObject(self): def getPortalObject(self):
return self return self
security.declareProtected(Permissions.AccessContentsInformation,
'getOriginalDocument')
def getOriginalDocument(self):
return self
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getPortalType') 'getPortalType')
def getPortalType(self): def getPortalType(self):
......
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