diff --git a/product/ERP5Catalog/CatalogTool.py b/product/ERP5Catalog/CatalogTool.py index 770df8b223a496eeb7a63a55a53c1975820166a8..3f66d80825f4e0fa9ce2be089f18ab3e2408f0d6 100755 --- a/product/ERP5Catalog/CatalogTool.py +++ b/product/ERP5Catalog/CatalogTool.py @@ -247,7 +247,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): # deal with groups getGroups = getattr(user, 'getGroups', None) if getGroups is not None: - groups = user.getGroups() + groups = list(user.getGroups()) groups.append('role:Anonymous') if 'Authenticated' in result: groups.append('role:Authenticated')