From 10c7eeb2843abba47d2de04172d915b867486209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Mon, 13 Mar 2006 19:57:08 +0000 Subject: [PATCH] allow Message class to be used from restricted environment git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6087 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/product/ERP5Form/__init__.py b/product/ERP5Form/__init__.py index e298eb02f7..c499259a31 100755 --- a/product/ERP5Form/__init__.py +++ b/product/ERP5Form/__init__.py @@ -46,6 +46,7 @@ import PlanningBox, POSBox, FormBox, EditorField, ProxyField import RelationField, ImageField, MultiRelationField import ZPyChart import PreferenceTool +import Message from Products.Formulator.FieldRegistry import FieldRegistry from Products.Formulator import StandardFields, HelperFields @@ -181,3 +182,6 @@ ModuleSecurityInfo('Products.ERP5Form.Report').declarePublic('ReportSection',) import Selection allow_class(Selection) +from AccessControl.SecurityInfo import allow_module +allow_module('Products.ERP5Form.Message') + -- 2.30.9