From 22c17c7c9461e4830572dd89a0eaf9471478b18a Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Thu, 16 Aug 2007 00:40:45 +0000 Subject: [PATCH] New portal type group for index pages used in the crawling process. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15684 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/ERP5Site.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index abdbdefffb..e1b516aa9d 100644 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -671,6 +671,14 @@ class ERP5Site(FolderMixIn, CMFSite): """ return self._getPortalGroupedTypeList('my_document') + security.declareProtected(Permissions.AccessContentsInformation, + 'getPortalCrawlerIndexTypeList') + def getPortalCrawlerIndexTypeList(self): + """ + Return web page types. + """ + return self._getPortalGroupedTypeList('crawler_index') + security.declareProtected(Permissions.AccessContentsInformation, 'getPortalSupplyPathTypeList') def getPortalSupplyPathTypeList(self): -- 2.30.9