Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
139
Merge Requests
139
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
4610f372
Commit
4610f372
authored
Sep 18, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add more security declarations to support Zope 2.12.25.
ref.
http://comments.gmane.org/gmane.comp.web.zope.cvs/22117
parent
b7144a1a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
product/CMFActivity/__init__.py
product/CMFActivity/__init__.py
+1
-0
product/ERP5Form/__init__.py
product/ERP5Form/__init__.py
+1
-0
No files found.
product/CMFActivity/__init__.py
View file @
4610f372
...
...
@@ -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'
)
product/ERP5Form/__init__.py
View file @
4610f372
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment