[CMF-checkins] CVS: CMF/CMFCore - MembershipTool.py:1.40
Yvo Schubbe
schubbe at web.de
Wed Sep 24 10:25:46 EDT 2003
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv14131/CMFCore
Modified Files:
MembershipTool.py
Log Message:
Fixed searchMembers permission. (Collector #189)
=== CMF/CMFCore/MembershipTool.py 1.39 => 1.40 ===
--- CMF/CMFCore/MembershipTool.py:1.39 Wed Sep 24 06:02:14 2003
+++ CMF/CMFCore/MembershipTool.py Wed Sep 24 10:25:45 2003
@@ -34,6 +34,7 @@
from CMFCoreExceptions import CMFUnauthorizedError
from CMFCorePermissions import AccessContentsInformation
from CMFCorePermissions import ChangeLocalRoles
+from CMFCorePermissions import ListPortalMembers
from CMFCorePermissions import ManagePortal
from CMFCorePermissions import ManageUsers
from CMFCorePermissions import SetOwnPassword
@@ -380,7 +381,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