Commit a37c53a6 authored by Jérome Perrin's avatar Jérome Perrin

make sure Member can "Copy or Move" preferences for copy & paste to work as

expected. Remove "Manage Properties" that is acquired for Owner.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19481 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fdffe6fd
......@@ -180,6 +180,10 @@ class PreferenceTool(BaseTool):
['Member', 'Author', 'Manager'])
item.manage_permission(Permissions.View,
['Member', 'Auditor', 'Manager'])
item.manage_permission(Permissions.CopyOrMove,
['Member', 'Auditor', 'Manager'])
item.manage_permission(Permissions.ManageProperties,
['Manager'], acquire=0)
item.manage_permission(Permissions.SetOwnPassword,
['Member', 'Author', 'Manager'])
BaseTool.inheritedAttribute('manage_afterAdd')(self, item, container)
......
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