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

define the permission here, otherwise no way to copy and paste fields in zope 2.9


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20793 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6e6d7fd5
......@@ -373,6 +373,7 @@ def initializeForm(field_registry, form_class=None):
# set up individual add dictionaries for meta_types
dict = { 'name': field.meta_type,
'permission': 'Add Formulator Fields',
'action':
'manage_addProduct/Formulator/manage_add%sForm' % meta_type }
meta_types.append(dict)
......
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