[CMF-checkins] CVS: CMF/CMFCore - CMFCorePermissions.py:1.15

Yvo Schubbe schubbe at web.de
Mon Sep 1 11:38:07 EDT 2003


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv23767/CMFCore

Modified Files:
	CMFCorePermissions.py 
Log Message:
Permissions cleanup:
- Removed redundant 'ManageProperties' permission.
- Added 'DeleteObjects' permission (to be used by Portal.py).
- Sorted Zope permissions.

=== CMF/CMFCore/CMFCorePermissions.py 1.14 => 1.15 ===
--- CMF/CMFCore/CMFCorePermissions.py:1.14	Thu Feb 13 03:28:42 2003
+++ CMF/CMFCore/CMFCorePermissions.py	Mon Sep  1 10:38:06 2003
@@ -22,13 +22,14 @@
 from Globals import ApplicationDefaultPermissions
 
 # General Zope permissions
-View = Permissions.view
 AccessContentsInformation = Permissions.access_contents_information
-UndoChanges = Permissions.undo_changes
 ChangePermissions = Permissions.change_permissions
-ViewManagementScreens = Permissions.view_management_screens
-ManageProperties = Permissions.manage_properties
+DeleteObjects = Permissions.delete_objects
 FTPAccess = Permissions.ftp_access
+ManageProperties = Permissions.manage_properties
+UndoChanges = Permissions.undo_changes
+View = Permissions.view
+ViewManagementScreens = Permissions.view_management_screens
 
 def setDefaultRoles(permission, roles):
     '''
@@ -71,9 +72,6 @@
 
 ModifyPortalContent = 'Modify portal content'
 setDefaultRoles(ModifyPortalContent, ('Manager',))
-
-ManageProperties = 'Manage properties'
-setDefaultRoles(ManageProperties, ('Owner','Manager',))
 
 ListPortalMembers = 'List portal members'
 setDefaultRoles( ListPortalMembers, ('Manager',) )  # + Member




More information about the CMF-checkins mailing list