Commit 726040ac authored by Jérome Perrin's avatar Jérome Perrin

revert changes commited by mistake


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29362 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc002da6
...@@ -56,7 +56,6 @@ import Products.Localizer # So that we make sure Globals.get_request is availabl ...@@ -56,7 +56,6 @@ import Products.Localizer # So that we make sure Globals.get_request is availabl
class_tool_security_path = '%s%s%s' % (product_path, os.sep, 'ALLOW_CLASS_TOOL') class_tool_security_path = '%s%s%s' % (product_path, os.sep, 'ALLOW_CLASS_TOOL')
def allowClassTool(): def allowClassTool():
return True
return os.access(class_tool_security_path, os.F_OK) return os.access(class_tool_security_path, os.F_OK)
def initialize( context ): def initialize( context ):
...@@ -100,7 +99,8 @@ def initialize( context ): ...@@ -100,7 +99,8 @@ def initialize( context ):
# We should register local classes at some point # We should register local classes at some point
from Products.ERP5Type.Utils import initializeLocalDocumentRegistry from Products.ERP5Type.Utils import initializeLocalDocumentRegistry
initializeLocalDocumentRegistry() initializeLocalDocumentRegistry()
# Interactor # Experimental Interactor
if USE_INTERACTOR:
import Interactor import Interactor
from AccessControl.SecurityInfo import allow_module from AccessControl.SecurityInfo import allow_module
......
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