[CMF-checkins] CVS: CMF/CMFDefault - MembershipTool.py:1.27.6.1
Yvo Schubbe
schubbe@web.de
Wed, 18 Dec 2002 16:43:17 -0500
Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv11080/CMFDefault
Modified Files:
Tag: yuppie-collector096-branch
MembershipTool.py
Log Message:
ActionProvider interface cleanup:
- Removed listActions() from Contentish and portal_workflow interface.
- Removed redundant or 'None' overriding of listActions().
=== CMF/CMFDefault/MembershipTool.py 1.27 => 1.27.6.1 ===
--- CMF/CMFDefault/MembershipTool.py:1.27 Thu Oct 17 15:38:35 2002
+++ CMF/CMFDefault/MembershipTool.py Wed Dec 18 16:43:17 2002
@@ -49,6 +49,9 @@
class MembershipTool( BaseTool ):
""" Implement 'portal_membership' interface using "stock" policies.
"""
+
+ __implements__ = BaseTool.__implements__
+
_actions =[
AI( id='login'
, title='Login'
@@ -218,12 +221,5 @@
return home.absolute_url()
else:
return None
-
- security.declarePrivate( 'listActions' )
- def listActions(self, info=None):
-
- """ List actions available through the tool.
- """
- return self._actions
InitializeClass(MembershipTool)