From a798a7d1ee9107a08dc224b7f18b73217faf49bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 24 Apr 2008 09:25:21 +0000 Subject: [PATCH] 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 --- product/ERP5Form/Form.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Form/Form.py b/product/ERP5Form/Form.py index f0418af15d..cb04e23db7 100644 --- a/product/ERP5Form/Form.py +++ b/product/ERP5Form/Form.py @@ -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) -- 2.30.9