Commit af1279e7 authored by Gabriel Monnerat's avatar Gabriel Monnerat

missing add group and rename group

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45714 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7d438bae
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Category" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_folders_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Copy_or_Move_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Delete_objects_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>group/cloudooo_group</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>cloudooo_group</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Category</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Cloudooo</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,7 +67,7 @@ person = module.newContent(portal_type=\'Person\',\n
description=context.REQUEST.get(\'HTTP_X_FORWARDED_FOR\',\'Found no ip\'),\n
)\n
person.setGroup(reference)\n
assignment = person.newContent(portal_type="Assignment", group="my_group")\n
assignment = person.newContent(portal_type="Assignment", group="cloudooo_group")\n
assignment.open()\n
person.validate()\n
\n
......@@ -83,7 +83,7 @@ document = context.Base_contribute(file=file,\n
cancel_url=None,\n
batch_mode=False,\n
max_repeat=0,\n
editable_mode = 1,\n
editable_mode=1,\n
follow_up_list=None,\n
user_login=reference,\n
reference=reference\n
......
5
\ No newline at end of file
6
\ No newline at end of file
group/cloudooo_group
\ 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