[Zope-CMF] [dev] delete members: small proposal
Yuppie
schubbe at web.de
Fri Sep 5 12:41:17 EDT 2003
Hi!
Currently there is no API to delete members. I propose to add these methods:
portal_membership:
def deleteMember(member_id, delete_memberarea=1):
""" Delete member specified by member_id.
Delete member in acl_users and member data in portal_memberdata.
If delete_memberarea is true, delete also member's home folder
including all content items.
Permission -- Manage users
"""
def deleteMemberArea(member_id):
""" Delete member area of member specified by member_id.
Permission -- Manage users
"""
portal_memberdata:
def deleteMemberData(member_id):
""" Delete member data of specified member.
Permission -- Python only
"""
Any thoughts? If there are no objections or better ideas, I'll add these
methods in cvs head.
Cheers,
Yuppie
More information about the Zope-CMF
mailing list