Commit d6a6a4c5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add Owner proxy role in proxy role scripts where we call newContent.

because we loose existing roles in proxy role scripts and init scripts require Owner role in context.
parent 91a3e907
...@@ -129,6 +129,7 @@ context.Base_redirect(\'WebSection_viewWaitingConversion\',\n ...@@ -129,6 +129,7 @@ context.Base_redirect(\'WebSection_viewWaitingConversion\',\n
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -79,6 +79,7 @@ return authentication_event\n ...@@ -79,6 +79,7 @@ return authentication_event\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -101,6 +101,7 @@ credential_recovery.submit()\n ...@@ -101,6 +101,7 @@ credential_recovery.submit()\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -80,6 +80,7 @@ if number_of_last_password_to_check is not None and number_of_last_password_to_c ...@@ -80,6 +80,7 @@ if number_of_last_password_to_check is not None and number_of_last_password_to_c
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -179,6 +179,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -179,6 +179,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -156,6 +156,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n ...@@ -156,6 +156,7 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -287,6 +287,7 @@ return encountered_check_identifiers_dict\n ...@@ -287,6 +287,7 @@ return encountered_check_identifiers_dict\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -88,6 +88,7 @@ line.setDestinationPaymentValue(transaction.getDestinationPaymentValue())\n ...@@ -88,6 +88,7 @@ line.setDestinationPaymentValue(transaction.getDestinationPaymentValue())\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -76,6 +76,7 @@ for check_operation_line in transaction.contentValues(filter = {\'portal_type\' ...@@ -76,6 +76,7 @@ for check_operation_line in transaction.contentValues(filter = {\'portal_type\'
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -112,6 +112,7 @@ if debit_required:\n ...@@ -112,6 +112,7 @@ if debit_required:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -348,6 +348,7 @@ else:\n ...@@ -348,6 +348,7 @@ else:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -72,6 +72,7 @@ return query\n ...@@ -72,6 +72,7 @@ return query\n
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -122,6 +122,7 @@ else:\n ...@@ -122,6 +122,7 @@ else:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -247,6 +247,7 @@ return context.SaleOrder_paymentRedirect(field_my_comment, field_my_payment_mode ...@@ -247,6 +247,7 @@ return context.SaleOrder_paymentRedirect(field_my_comment, field_my_payment_mode
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -122,6 +122,7 @@ return "### Init Ok ###"\n ...@@ -122,6 +122,7 @@ return "### Init Ok ###"\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -123,6 +123,7 @@ return login, password\n ...@@ -123,6 +123,7 @@ return login, password\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -103,6 +103,7 @@ context.portal_notifications.sendMessage(\n ...@@ -103,6 +103,7 @@ context.portal_notifications.sendMessage(\n
<string>Assignor</string> <string>Assignor</string>
<string>Author</string> <string>Author</string>
<string>Member</string> <string>Member</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -122,6 +122,7 @@ for role in context.getRoleList():\n ...@@ -122,6 +122,7 @@ for role in context.getRoleList():\n
<value> <value>
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -146,6 +146,7 @@ return portal.Base_redirect(form_id=\'login_form\', keep_items=keep_items)\n ...@@ -146,6 +146,7 @@ return portal.Base_redirect(form_id=\'login_form\', keep_items=keep_items)\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -87,6 +87,7 @@ else:\n ...@@ -87,6 +87,7 @@ else:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -125,6 +125,7 @@ else:\n ...@@ -125,6 +125,7 @@ else:\n
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -215,6 +215,7 @@ return context.Base_redirect(redirect_url=redirect_url,\n ...@@ -215,6 +215,7 @@ return context.Base_redirect(redirect_url=redirect_url,\n
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -103,6 +103,7 @@ return printed\n ...@@ -103,6 +103,7 @@ return printed\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -202,6 +202,7 @@ return context.Base_redirect(next_url, keep_items = dict(portal_status_message=m ...@@ -202,6 +202,7 @@ return context.Base_redirect(next_url, keep_items = dict(portal_status_message=m
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -172,6 +172,7 @@ return context.Base_redirect(next_url, keep_items = dict(portal_status_message=m ...@@ -172,6 +172,7 @@ return context.Base_redirect(next_url, keep_items = dict(portal_status_message=m
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -111,6 +111,7 @@ return result\n ...@@ -111,6 +111,7 @@ return result\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -91,6 +91,7 @@ if domain in portal.portal_preferences.getPreferredManagedExternalDomainNameList ...@@ -91,6 +91,7 @@ if domain in portal.portal_preferences.getPreferredManagedExternalDomainNameList
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -100,6 +100,7 @@ else:\n ...@@ -100,6 +100,7 @@ else:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -82,6 +82,7 @@ return printed\n ...@@ -82,6 +82,7 @@ return printed\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -179,6 +179,7 @@ else:\n ...@@ -179,6 +179,7 @@ else:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -117,6 +117,7 @@ return current_object.EmailDocument_viewAttachmentListRenderer()\n ...@@ -117,6 +117,7 @@ return current_object.EmailDocument_viewAttachmentListRenderer()\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -219,6 +219,7 @@ return context.REQUEST.RESPONSE.redirect(redirect_url)\n ...@@ -219,6 +219,7 @@ return context.REQUEST.RESPONSE.redirect(redirect_url)\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -173,6 +173,7 @@ return context.REQUEST.RESPONSE.redirect(redirect_url)\n ...@@ -173,6 +173,7 @@ return context.REQUEST.RESPONSE.redirect(redirect_url)\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -206,6 +206,7 @@ return context.REQUEST.RESPONSE.redirect(redirect_url)\n ...@@ -206,6 +206,7 @@ return context.REQUEST.RESPONSE.redirect(redirect_url)\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -217,6 +217,7 @@ for M0_bis in M0_bis_list:\n ...@@ -217,6 +217,7 @@ for M0_bis in M0_bis_list:\n
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -234,6 +234,7 @@ for history in history_list:\n ...@@ -234,6 +234,7 @@ for history in history_list:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -224,6 +224,7 @@ for history in history_list:\n ...@@ -224,6 +224,7 @@ for history in history_list:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -68,6 +68,7 @@ if batch_mode:\n ...@@ -68,6 +68,7 @@ if batch_mode:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -77,6 +77,7 @@ return benchmark_report\n ...@@ -77,6 +77,7 @@ return benchmark_report\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -81,6 +81,7 @@ test_report.start(date=DateTime(form.get(\'launch_date\')))\n ...@@ -81,6 +81,7 @@ test_report.start(date=DateTime(form.get(\'launch_date\')))\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -79,6 +79,7 @@ if batch_mode:\n ...@@ -79,6 +79,7 @@ if batch_mode:\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -91,6 +91,7 @@ return \'Done.\'\n ...@@ -91,6 +91,7 @@ return \'Done.\'\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -91,6 +91,7 @@ return \'Done.\'\n ...@@ -91,6 +91,7 @@ return \'Done.\'\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -137,6 +137,7 @@ return website.Base_redirect(form_id, keep_items=dict(portal_status_message=msg, ...@@ -137,6 +137,7 @@ return website.Base_redirect(form_id, keep_items=dict(portal_status_message=msg,
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -68,6 +68,7 @@ context.newContent(**kw)\n ...@@ -68,6 +68,7 @@ context.newContent(**kw)\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -99,6 +99,7 @@ return context.Base_redirect(\'\', keep_items = dict(portal_status_message=porta ...@@ -99,6 +99,7 @@ return context.Base_redirect(\'\', keep_items = dict(portal_status_message=porta
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -63,6 +63,7 @@ return "Created Successfully."\n ...@@ -63,6 +63,7 @@ return "Created Successfully."\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,6 +65,7 @@ return "Created Successfully."\n ...@@ -65,6 +65,7 @@ return "Created Successfully."\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -63,6 +63,7 @@ return "Created Successfully."\n ...@@ -63,6 +63,7 @@ return "Created Successfully."\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -63,6 +63,7 @@ return "Created Successfully."\n ...@@ -63,6 +63,7 @@ return "Created Successfully."\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -106,6 +106,7 @@ return \'Reset Successfully.\'\n ...@@ -106,6 +106,7 @@ return \'Reset Successfully.\'\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -89,6 +89,7 @@ return email.getId()\n ...@@ -89,6 +89,7 @@ return email.getId()\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -84,6 +84,7 @@ return json.dumps(True)\n ...@@ -84,6 +84,7 @@ return json.dumps(True)\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -717,6 +717,7 @@ else :\n ...@@ -717,6 +717,7 @@ else :\n
<value> <value>
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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