Commit 8e577d7c authored by Jean-Paul Smets's avatar Jean-Paul Smets

Add centralised ImportExportObjects permission (to be used by OOoDocument)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10509 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e748ae24
......@@ -45,6 +45,8 @@ except ImportError:
permissions.setDefaultRoles(permissions.ChangeLocalRoles,
('Owner', 'Manager'))
from AccessControl import Permissions as ac_permissions
setDefaultRoles = permissions.setDefaultRoles
# Default Zope Permissions
......@@ -55,6 +57,7 @@ ChangePermissions = permissions.ChangePermissions
ViewManagementScreens = permissions.ViewManagementScreens
ManageProperties = permissions.ManageProperties
FTPAccess = permissions.FTPAccess
ImportExportObjects = ac_permissions.import_export_objects
# Default CMF Core Permissions
ListFolderContents = permissions.ListFolderContents
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment