[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_membership.py:1.6

Yvo Schubbe schubbe@web.de
Mon, 6 Jan 2003 15:39:06 -0500


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv20552/CMFCore/interfaces

Modified Files:
	portal_membership.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_membership.py 1.5 => 1.6 ===
--- CMF/CMFCore/interfaces/portal_membership.py:1.5	Thu Aug  1 15:05:12 2002
+++ CMF/CMFCore/interfaces/portal_membership.py	Mon Jan  6 15:39:03 2003
@@ -10,19 +10,31 @@
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-""" Membership tool interface description.
+""" Membership 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_membership(Base):
+
+class portal_membership(Interface):
     '''Deals with the details of how and where to store and retrieve
     members and their member folders.
     '''
     id = Attribute('id', 'Must be set to "portal_membership"')
 
+    def setPassword(password, domains=None):
+        """ Allows the authenticated member to set his/her own password.
+
+        Permission -- SetOwnPassword
+        """
+            
     #getAuthenticatedMember__roles__ = None  # Allow all.
     def getAuthenticatedMember():
         '''