Commit 6d107e51 authored by Sebastien Robin's avatar Sebastien Robin

fixed security settings on usual cash transfer workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12461 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58c863e4
...@@ -85,7 +85,7 @@ if currency != \'XOF\':\n ...@@ -85,7 +85,7 @@ if currency != \'XOF\':\n
emissionLetter = [\'not_defined\']\n emissionLetter = [\'not_defined\']\n
variation = [\'not_defined\']\n variation = [\'not_defined\']\n
else:\n else:\n
cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\']\n cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\',\'error\']\n
emissionLetter = None\n emissionLetter = None\n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n \n
......
...@@ -86,7 +86,7 @@ if currency != \'XOF\':\n ...@@ -86,7 +86,7 @@ if currency != \'XOF\':\n
emissionLetter = [\'not_defined\',]\n emissionLetter = [\'not_defined\',]\n
variation = [\'not_defined\',]\n variation = [\'not_defined\',]\n
else:\n else:\n
cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\']\n cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\',\'error\']\n
emissionLetter = None\n emissionLetter = None\n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n \n
......
...@@ -87,7 +87,7 @@ if source_section is None :\n ...@@ -87,7 +87,7 @@ if source_section is None :\n
if \'serre\' in context.getSource():\n if \'serre\' in context.getSource():\n
cash_status = [\'retired\',]\n cash_status = [\'retired\',]\n
else:\n else:\n
cash_status = [\'cancelled\',\'mutilated\', \'maculated\']\n cash_status = [\'cancelled\',\'mutilated\', \'maculated\',\'error\']\n
\n \n
#emission_letter = context.Baobab_getUserEmissionLetterList() \n #emission_letter = context.Baobab_getUserEmissionLetterList() \n
#emission_letter = list(context.getSourceSectionValue().getCodification()[0])\n #emission_letter = list(context.getSourceSectionValue().getCodification()[0])\n
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
<string>Access contents information</string> <string>Access contents information</string>
<string>Modify portal content</string> <string>Modify portal content</string>
<string>View</string> <string>View</string>
<string>Add portal content</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -77,6 +77,12 @@ ...@@ -77,6 +77,12 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>Modify portal content</string> </key> <key> <string>Modify portal content</string> </key>
<value> <value>
......
...@@ -82,10 +82,20 @@ ...@@ -82,10 +82,20 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>Add portal content</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>
<tuple/> <tuple>
<string>Manager</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -77,6 +77,12 @@ ...@@ -77,6 +77,12 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>Modify portal content</string> </key> <key> <string>Modify portal content</string> </key>
<value> <value>
......
...@@ -83,6 +83,16 @@ ...@@ -83,6 +83,16 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>Modify portal content</string> </key> <key> <string>Modify portal content</string> </key>
<value> <value>
......
152 156
\ 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