[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_memberdata.py:1.6
Yvo Schubbe
schubbe@web.de
Mon, 6 Jan 2003 15:38:58 -0500
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv20444/CMFCore/interfaces
Modified Files:
portal_memberdata.py
Log Message:
Merged yuppie-collector096-branch:
- Cleaned up Interfaces and API Help. (Collector #96)
- Removed deprecated 'register' module and interface.
=== CMF/CMFCore/interfaces/portal_memberdata.py 1.5 => 1.6 ===
--- CMF/CMFCore/interfaces/portal_memberdata.py:1.5 Thu Aug 1 15:05:12 2002
+++ CMF/CMFCore/interfaces/portal_memberdata.py Mon Jan 6 15:38:53 2003
@@ -10,14 +10,20 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-""" Membership data storage tool interface description.
+""" Memberdata storage tool interface.
$Id$
"""
-from Interface import Attribute, Base
+from Interface import Attribute
+try:
+ from Interface import Interface
+except ImportError:
+ # for Zope versions before 2.6.0
+ from Interface import Base as Interface
-class portal_memberdata(Base):
+
+class portal_memberdata(Interface):
'''A helper for portal_membership that transparently adds
member data to user objects.
'''
@@ -48,3 +54,13 @@
tool with the list in the actual underlying acl_users
and delete anything not in acl_users
'''
+
+class MemberData(Interface):
+ """ MemberData interface.
+ """
+
+ def setProperties(properties=None, **kw):
+ """ Allows the authenticated member to set his/her own properties.
+
+ Permission -- SetOwnProperties
+ """