[CMF-checkins] CVS: CMF/CMFCore - MembershipTool.py:1.25
Tres Seaver
tseaver@zope.com
Tue, 23 Jul 2002 12:02:44 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv21349/CMFCore
Modified Files:
MembershipTool.py
Log Message:
- Merge default flag fix from 1.3 branch.
=== CMF/CMFCore/MembershipTool.py 1.24 => 1.25 ===
#
##############################################################################
-"""Basic membership tool.
+""" Basic membership tool.
+
$Id$
"""
-__version__='$Revision$'[11:-2]
from string import find
from utils import UniqueObject, _getAuthenticatedUser, _checkPermission
@@ -46,6 +46,7 @@
meta_type = 'CMF Membership Tool'
_actions = []
security = ClassSecurityInfo()
+ memberareaCreationFlag = 1
manage_options=( ({ 'label' : 'Configuration'
, 'action' : 'manage_mapRoles'
@@ -205,9 +206,6 @@
an underlying user folder logs in first without going
through the join process
"""
- if not hasattr(self, 'memberareaCreationFlag'):
- self.memberareaCreationFlag = 0
-
return self.memberareaCreationFlag
security.declareProtected(ManagePortal, 'setMemberareaCreationFlag')