Commit 79d4d473 authored by Ivan Tyagov's avatar Ivan Tyagov

Only 'group & 'site' properties should be taken by default during ingestion process.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a3de84a6
......@@ -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, but sometimes the name has to be given e
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>
......
110
\ No newline at end of file
111
\ No newline at end of file
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