[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_registration.py:1.5.12.1 portal_url.py:1.2.2.1
Yvo Schubbe
schubbe@web.de
Thu, 19 Dec 2002 13:20:19 -0500
Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv9156/CMFCore/interfaces
Modified Files:
Tag: yuppie-collector096-branch
portal_registration.py portal_url.py
Log Message:
tool interface cleanup:
- added portal_properties interface
- added interface tests and made them pass
=== CMF/CMFCore/interfaces/portal_registration.py 1.5 => 1.5.12.1 ===
--- CMF/CMFCore/interfaces/portal_registration.py:1.5 Thu Aug 1 15:05:12 2002
+++ CMF/CMFCore/interfaces/portal_registration.py Thu Dec 19 13:20:19 2002
@@ -10,14 +10,20 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-""" Registration tool interface description.
+""" Registration 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_registration(Base):
+
+class portal_registration(Interface):
'''Establishes policies for member registration. Depends on
portal_membership. Is not aware of membership storage details.
'''
@@ -73,14 +79,4 @@
def mailPassword(forgotten_userid, REQUEST):
'''Email a forgotten password to a member. Raises an exception
if user ID is not found.
- '''
-
- # permission: 'Set own password'
- def setPassword(password, domains=None):
- '''Allows the authenticated member to set his/her own password.
- '''
-
- # permission: 'Set own properties'
- def setProperties(properties=None, **kw):
- '''Allows the authenticated member to set his/her own properties.
'''
=== CMF/CMFCore/interfaces/portal_url.py 1.2 => 1.2.2.1 ===
--- CMF/CMFCore/interfaces/portal_url.py:1.2 Wed Dec 11 17:21:49 2002
+++ CMF/CMFCore/interfaces/portal_url.py Thu Dec 19 13:20:19 2002
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
-""" URL tool interface description.
+""" URL tool interface.
$Id$
"""