[Erp5-report] r15684 - /erp5/trunk/products/ERP5/ERP5Site.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 16 02:40:45 CEST 2007


Author: jp
Date: Thu Aug 16 02:40:45 2007
New Revision: 15684

URL: http://svn.erp5.org?rev=15684&view=rev
Log:
New portal type group for index pages used in the crawling process.

Modified:
    erp5/trunk/products/ERP5/ERP5Site.py

Modified: erp5/trunk/products/ERP5/ERP5Site.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ERP5Site.py?rev=15684&r1=15683&r2=15684&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/ERP5Site.py (original)
+++ erp5/trunk/products/ERP5/ERP5Site.py Thu Aug 16 02:40:45 2007
@@ -670,6 +670,14 @@
       Return web page types.
     """
     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')




More information about the Erp5-report mailing list