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