[CMF-checkins] CVS: CMF/CMFCore - MembershipTool.py:1.32.10.3
Yvo Schubbe
schubbe at web.de
Wed Sep 24 10:24:46 EDT 2003
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv13944/CMFCore
Modified Files:
Tag: CMF-1_4-branch
MembershipTool.py
Log Message:
Fixed searchMembers permission. (Collector #189)
=== CMF/CMFCore/MembershipTool.py 1.32.10.2 => 1.32.10.3 ===
--- CMF/CMFCore/MembershipTool.py:1.32.10.2 Fri Aug 22 10:46:21 2003
+++ CMF/CMFCore/MembershipTool.py Wed Sep 24 10:24:45 2003
@@ -23,10 +23,11 @@
from Acquisition import aq_base
from AccessControl.User import nobody
from AccessControl import ClassSecurityInfo
-from CMFCorePermissions import View
from CMFCorePermissions import AccessContentsInformation
+from CMFCorePermissions import ListPortalMembers
from CMFCorePermissions import ManagePortal
from CMFCorePermissions import SetOwnPassword
+from CMFCorePermissions import View
from ActionProviderBase import ActionProviderBase
from interfaces.portal_membership \
@@ -346,7 +347,7 @@
'''
return map(self.wrapUser, self.__getPUS().getUsers())
- security.declareProtected(View, 'searchMembers')
+ security.declareProtected(ListPortalMembers, 'searchMembers')
def searchMembers( self, search_param, search_term ):
""" Search the membership """
md = getToolByName( self, 'portal_memberdata' )
More information about the CMF-checkins
mailing list