Commit 08714f86 authored by Jérome Perrin's avatar Jérome Perrin

Add Change local roles permission.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9133 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81ce0299
......@@ -40,6 +40,10 @@ try:
from Products.CMFCore import permissions
except ImportError:
from Products.CMFCore import CMFCorePermissions as permissions
# XXX "Change local roles" didn't exist at the time of CMF 1.4
permissions.ChangeLocalRoles = 'Change local roles'
permissions.setDefaultRoles(permissions.ChangeLocalRoles,
('Owner', 'Manager'))
setDefaultRoles = permissions.setDefaultRoles
......@@ -60,7 +64,7 @@ ModifyCookieCrumblers = permissions.ModifyCookieCrumblers
ReplyToItem = permissions.ReplyToItem
ManagePortal = permissions.ManagePortal
ModifyPortalContent = permissions.ModifyPortalContent
#ManageProperties = permissions.ManageProperties
ChangeLocalRoles = permissions.ChangeLocalRoles
ListPortalMembers = permissions.ListPortalMembers
AddPortalFolders = permissions.AddPortalFolders
AddPortalContent = permissions.AddPortalContent
......
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