[CMF-checkins] CVS: CMF/CMFCore - CMFCorePermissions.py:1.16
MembershipTool.py:1.38
Yvo Schubbe
schubbe at web.de
Wed Sep 3 06:21:52 EDT 2003
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv24036/CMFCore
Modified Files:
CMFCorePermissions.py MembershipTool.py
Log Message:
Permission change:
- Replaced ManagePortal by ManageUsers in getRoster() and createMemberarea().
=== CMF/CMFCore/CMFCorePermissions.py 1.15 => 1.16 ===
--- CMF/CMFCore/CMFCorePermissions.py:1.15 Mon Sep 1 10:38:06 2003
+++ CMF/CMFCore/CMFCorePermissions.py Wed Sep 3 05:21:21 2003
@@ -27,6 +27,7 @@
DeleteObjects = Permissions.delete_objects
FTPAccess = Permissions.ftp_access
ManageProperties = Permissions.manage_properties
+ManageUsers = Permissions.manage_users
UndoChanges = Permissions.undo_changes
View = Permissions.view
ViewManagementScreens = Permissions.view_management_screens
=== CMF/CMFCore/MembershipTool.py 1.37 => 1.38 ===
--- CMF/CMFCore/MembershipTool.py:1.37 Fri Aug 22 10:52:53 2003
+++ CMF/CMFCore/MembershipTool.py Wed Sep 3 05:21:21 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 ManagePortal
+from CMFCorePermissions import ManageUsers
from CMFCorePermissions import SetOwnPassword
+from CMFCorePermissions import View
from ActionProviderBase import ActionProviderBase
from interfaces.portal_membership \
@@ -239,7 +240,7 @@
member = user
member_id = user_id
else:
- if _checkPermission(ManagePortal, self):
+ if _checkPermission(ManageUsers, self):
member = self.acl_users.getUserById(member_id, None)
if member:
member = member.__of__(self.acl_users)
More information about the CMF-checkins
mailing list