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: https://svn.erp5.org/repos/public/erp5/trunk@6166 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 534feb36
......@@ -673,14 +673,8 @@ class ERP5Site ( FolderMixIn, CMFSite ):
"""
Return List of category values to generate security groups.
"""
### Here is the filter patch waiting bug #124 to be corrected
category_list = self._getPortalGroupedCategoryList('assignment') or\
return self._getPortalGroupedCategoryList('assignment') or\
self._getPortalConfiguration('portal_assignment_base_category_list')
clean_list = []
for cat in category_list:
if cat.find("_btsave") == -1:
clean_list.append(cat)
return clean_list
security.declareProtected(Permissions.AccessContentsInformation,
'getDefaultModuleId')
......
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