Commit 22c17c7c authored by Jean-Paul Smets's avatar Jean-Paul Smets

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
parent 7b4b5203
...@@ -671,6 +671,14 @@ class ERP5Site(FolderMixIn, CMFSite): ...@@ -671,6 +671,14 @@ class ERP5Site(FolderMixIn, CMFSite):
""" """
return self._getPortalGroupedTypeList('my_document') 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, security.declareProtected(Permissions.AccessContentsInformation,
'getPortalSupplyPathTypeList') 'getPortalSupplyPathTypeList')
def getPortalSupplyPathTypeList(self): def getPortalSupplyPathTypeList(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