Commit 10c7eeb2 authored by Aurel's avatar Aurel

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
parent de218d0d
...@@ -46,6 +46,7 @@ import PlanningBox, POSBox, FormBox, EditorField, ProxyField ...@@ -46,6 +46,7 @@ import PlanningBox, POSBox, FormBox, EditorField, ProxyField
import RelationField, ImageField, MultiRelationField import RelationField, ImageField, MultiRelationField
import ZPyChart import ZPyChart
import PreferenceTool import PreferenceTool
import Message
from Products.Formulator.FieldRegistry import FieldRegistry from Products.Formulator.FieldRegistry import FieldRegistry
from Products.Formulator import StandardFields, HelperFields from Products.Formulator import StandardFields, HelperFields
...@@ -181,3 +182,6 @@ ModuleSecurityInfo('Products.ERP5Form.Report').declarePublic('ReportSection',) ...@@ -181,3 +182,6 @@ ModuleSecurityInfo('Products.ERP5Form.Report').declarePublic('ReportSection',)
import Selection import Selection
allow_class(Selection) allow_class(Selection)
from AccessControl.SecurityInfo import allow_module
allow_module('Products.ERP5Form.Message')
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