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

ERP5Site: define ERP5Site.getOriginalDocument

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