[Erp5-report] r38653 ivan - in /erp5/trunk/bt5/erp5_ingestion: SkinTemplateItem/portal_skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 27 11:06:39 CEST 2010
Author: ivan
Date: Mon Sep 27 11:06:35 2010
New Revision: 38653
URL: http://svn.erp5.org?rev=38653&view=rev
Log:
Only 'group & 'site' properties should be taken by default during ingestion process.
Modified:
erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml
erp5/trunk/bt5/erp5_ingestion/bt/revision
Modified: erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml?rev=38653&r1=38652&r2=38653&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml [utf8] Mon Sep 27 11:06:35 2010
@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
- <tuple>
- <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
- <tuple/>
- </tuple>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
@@ -59,7 +56,10 @@ User would be usually the current user,
if e.g. the doc is contributed by email, and the script is run by zope user.\n
"""\n
assignment_dict = context.ERP5Site_getPersonAssignmentDict(user_name=user_name)\n
-return assignment_dict\n
+\n
+# XXX: make list of properties configurable through preferences\n
+return {\'group_list\': assignment_dict[\'group_list\'],\n
+ \'function_list\': assignment_dict[\'function_list\']}\n
</string> </value>
</item>
<item>
@@ -100,6 +100,7 @@ return assignment_dict\n
<string>_getattr_</string>
<string>context</string>
<string>assignment_dict</string>
+ <string>_getitem_</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/bt5/erp5_ingestion/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ingestion/bt/revision?rev=38653&r1=38652&r2=38653&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ingestion/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ingestion/bt/revision [utf8] Mon Sep 27 11:06:35 2010
@@ -1 +1 @@
-110
\ No newline at end of file
+111
\ No newline at end of file
More information about the Erp5-report
mailing list