Commit aa8334ad authored by Jean-Paul Smets's avatar Jean-Paul Smets

fixed Solanes typo

added getPortalObject method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@427 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3f194d51
...@@ -99,6 +99,10 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -99,6 +99,10 @@ class ERP5Site ( CMFSite, FolderMixIn ):
""" """
return self.index_html() return self.index_html()
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalObject')
def getPortalObject(self):
return self
security.declareProtected(Permissions.AccessContentsInformation, 'getUid') security.declareProtected(Permissions.AccessContentsInformation, 'getUid')
def getUid(self): def getUid(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