Commit 4610f372 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add more security declarations to support Zope 2.12.25.

ref. http://comments.gmane.org/gmane.comp.web.zope.cvs/22117
parent b7144a1a
......@@ -67,4 +67,5 @@ def initialize( context ):
cmfactivity_globals = globals()
from AccessControl.SecurityInfo import allow_module
allow_module('Products.CMFActivity.ActiveResult')
allow_module('Products.CMFActivity.Errors')
......@@ -186,6 +186,7 @@ def initialize( context ):
## Initialize security ##
ModuleSecurityInfo('Products.ERP5Form.Report').declarePublic('ReportSection',)
ModuleSecurityInfo('Products.ERP5Form.MultiRelationField').declarePublic('SUB_FIELD_ID',)
ModuleSecurityInfo('Products.ERP5Form.Selection').declarePublic('Selection',)
import Selection
allow_class(Selection)
......
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