[CMF-checkins] CVS: CMF/CMFCore - MembershipTool.py:1.23.4.2
Tres Seaver
tseaver@zope.com
Tue, 23 Jul 2002 11:57:28 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv19565/CMFCore
Modified Files:
Tag: CMF-1_3-branch
MembershipTool.py
Log Message:
- Defaulted member area creation flag in CMFCore.MembershipTool to true,
to preserve existing behavior: new members should get a member area
by default (Collector #5).
=== CMF/CMFCore/MembershipTool.py 1.23.4.1 => 1.23.4.2 ===
meta_type = 'CMF Membership Tool'
_actions = []
security = ClassSecurityInfo()
+ memberareaCreationFlag = 1
manage_options=( ({ 'label' : 'Configuration'
, 'action' : 'manage_mapRoles'
@@ -205,9 +206,7 @@
an underlying user folder logs in first without going
through the join process
"""
- if not hasattr(self, 'memberareaCreationFlag'):
- self.memberareaCreationFlag = 0
-
+ import pdb; pdb.set_trace()
return self.memberareaCreationFlag
security.declareProtected(ManagePortal, 'setMemberareaCreationFlag')
@@ -218,6 +217,7 @@
an underlying user folder logs in first without going
through the join process
"""
+ import pdb; pdb.set_trace()
if not hasattr(self, 'memberareaCreationFlag'):
self.memberareaCreationFlag = 0