From 4b8a92b321d0a3876064c0d495440a22f1533b7e Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 28 Feb 2008 16:17:57 +0000 Subject: [PATCH] Set explicily uid to temporary RAM wrapper. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19562 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Tool/SessionTool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5Type/Tool/SessionTool.py b/product/ERP5Type/Tool/SessionTool.py index 7163b21748..5c55b897c6 100644 --- a/product/ERP5Type/Tool/SessionTool.py +++ b/product/ERP5Type/Tool/SessionTool.py @@ -49,6 +49,8 @@ class Session(UserDict): ## we have our own security policy and do not want Zope's _guarded_writes = 1 __allow_access_to_unprotected_subobjects__ = 1 + # XXX (dirty hack): we shouldn't need to explicitly set uid here + uid = 'NULL' ## a handle to current aquisition context _aq_context = None -- 2.30.9