Commit 01ee9d11 authored by Jérome Perrin's avatar Jérome Perrin

btsave objects are no longer created, no need to filter them

git-svn-id: 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 534feb36
...@@ -673,14 +673,8 @@ class ERP5Site ( FolderMixIn, CMFSite ): ...@@ -673,14 +673,8 @@ class ERP5Site ( FolderMixIn, CMFSite ):
""" """
Return List of category values to generate security groups. Return List of category values to generate security groups.
""" """
### Here is the filter patch waiting bug #124 to be corrected return self._getPortalGroupedCategoryList('assignment') or\
category_list = self._getPortalGroupedCategoryList('assignment') or\
self._getPortalConfiguration('portal_assignment_base_category_list') self._getPortalConfiguration('portal_assignment_base_category_list')
clean_list = []
for cat in category_list:
if cat.find("_btsave") == -1:
return clean_list
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getDefaultModuleId') 'getDefaultModuleId')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment