Commit 4ea7998b authored by Aurel's avatar Aurel

form fix and security changes

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21353 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f6ebb9f9
No related merge requests found
...@@ -466,6 +466,9 @@ ...@@ -466,6 +466,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -666,6 +669,9 @@ ...@@ -666,6 +669,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -459,6 +459,9 @@ ...@@ -459,6 +459,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -657,6 +660,9 @@ ...@@ -657,6 +660,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -33,6 +33,25 @@ ...@@ -33,6 +33,25 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item> <item>
<key> <string>_roles</string> </key> <key> <string>_roles</string> </key>
<value> <value>
...@@ -112,4 +131,44 @@ ...@@ -112,4 +131,44 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_ui</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_ui</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -33,6 +33,25 @@ ...@@ -33,6 +33,25 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_property_domain_dict</string> </key>
<value>
<dictionary>
<item>
<key> <string>short_title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item> <item>
<key> <string>_roles</string> </key> <key> <string>_roles</string> </key>
<value> <value>
...@@ -98,4 +117,44 @@ ...@@ -98,4 +117,44 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_ui</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>short_title</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<global name="TranslationInformation" module="Products.ERP5Type.TranslationProviderBase"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>domain_name</string> </key>
<value> <string>erp5_ui</string> </value>
</item>
<item>
<key> <string>property_name</string> </key>
<value> <string>title</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<list> <list>
<string>my_title</string> <string>my_title</string>
<string>my_stop_date</string> <string>my_stop_date</string>
<string>my_site</string> <string>my_destination</string>
<string>listbox_total_price</string> <string>listbox_total_price</string>
</list> </list>
</value> </value>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_site</string> </value> <value> <string>my_destination</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
...@@ -91,7 +91,7 @@ if currency_id == context.Baobab_getPortalReferenceCurrencyID():\n ...@@ -91,7 +91,7 @@ if currency_id == context.Baobab_getPortalReferenceCurrencyID():\n
else:\n else:\n
letter_list = [\'not_defined\']\n letter_list = [\'not_defined\']\n
variation_list = [\'not_defined\']\n variation_list = [\'not_defined\']\n
cash_status_list = [\'not_defined\']\n cash_status_list = [\'not_defined\', \'valid\']\n
\n \n
cash_detail_dict = {\'line_portal_type\' : \'Cash Inventory Line\'\n cash_detail_dict = {\'line_portal_type\' : \'Cash Inventory Line\'\n
, \'operation_currency\' : context.getPriceCurrencyId()\n , \'operation_currency\' : context.getPriceCurrencyId()\n
......
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
<string>Modify portal content</string> <string>Modify portal content</string>
<string>Access contents information</string> <string>Access contents information</string>
<string>Add portal content</string> <string>Add portal content</string>
<string>Delete objects</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -84,6 +84,14 @@ ...@@ -84,6 +84,14 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>Delete objects</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>Modify portal content</string> </key> <key> <string>Modify portal content</string> </key>
<value> <value>
......
20 21
\ No newline at end of file \ 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