From 589634325dec9dbd1f1d90875119dc96d3ed2a01 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Tue, 25 May 2004 13:33:48 +0000 Subject: [PATCH] Revert the previous change partially, because setupUserFolder must be overriden. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@918 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/ERP5Site.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py index 770b3de1d1..523cf93130 100755 --- a/product/ERP5/ERP5Site.py +++ b/product/ERP5/ERP5Site.py @@ -415,6 +415,14 @@ class ERP5Generator(PortalGenerator): # portal_catalog.reindexObject(p.portal_activities) #p[MembershipTool.membersfolder_id].immediateReindexObject() + def setupUserFolder(self, p): + try: + # Use NuxUserGroups instead of the standard acl_users. + p.manage_addProduct['NuxUserGroups'].manage_addUserFolderWithGroups() + except: + # No way. + PortalGenerator.setupUserFolder(self, p) + def setup(self, p, create_userfolder): self.setupTools(p) self.setupMailHost(p) -- 2.30.9