[CMF-checkins] CVS: CMF/CMFDefault - MembershipTool.py:1.39
Yvo Schubbe
schubbe at web.de
Wed Sep 24 06:02:48 EDT 2003
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv1184/CMFDefault
Modified Files:
MembershipTool.py
Log Message:
Merged yuppie-deleteMembers-branch:
- Added deleteMemberData, deleteMemberArea and deleteLocalRoles.
- Added 'recursive' argument to deleteLocalRoles.
- Renamed createMemberarea to createMemberArea.
- Moved getMembersFolder to CMFCore.
- Added CMFCoreExceptions.py.
- Added 'Change local roles' Permission.
=== CMF/CMFDefault/MembershipTool.py 1.38 => 1.39 ===
--- CMF/CMFDefault/MembershipTool.py:1.38 Wed Sep 3 05:21:21 2003
+++ CMF/CMFDefault/MembershipTool.py Wed Sep 24 06:02:16 2003
@@ -177,8 +177,8 @@
members = getattr(parent, self.membersfolder_id, None)
return members
- security.declarePublic('createMemberarea')
- def createMemberarea(self, member_id=''):
+ security.declarePublic('createMemberArea')
+ def createMemberArea(self, member_id=''):
""" Create a member area for 'member_id' or authenticated user.
"""
if not self.getMemberareaCreationFlag():
@@ -243,6 +243,9 @@
f.index_html.reindexObject()
f.index_html.notifyWorkflowCreated()
return f
+
+ security.declarePublic('createMemberarea')
+ createMemberarea = createMemberArea
def getHomeFolder(self, id=None, verifyPermission=0):
""" Return a member's home folder object, or None.
More information about the CMF-checkins
mailing list