From aa8334ad7b7a82e3711224446c21e694ef681cc1 Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sun, 8 Feb 2004 17:42:14 +0000 Subject: [PATCH] fixed Solanes typo added getPortalObject method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@427 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/ERP5Site.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 4bd8ece415..4045317b1e 100755 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -99,6 +99,10 @@ class ERP5Site ( CMFSite, FolderMixIn ): """ return self.index_html() + security.declareProtected(Permissions.AccessContentsInformation, 'getPortalObject') + def getPortalObject(self): + return self + security.declareProtected(Permissions.AccessContentsInformation, 'getUid') def getUid(self): """ -- 2.30.9