Commit 84bdbdb5 authored by Mame Coumba Sall's avatar Mame Coumba Sall

Add proxy roles Manager on scripts so that user who doesn't have appropriate...

Add proxy roles Manager on scripts so that user who doesn't have appropriate permission in portal type "Check" can execute scripts without having to modify security on Check.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31729 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 68968d1d
...@@ -86,6 +86,14 @@ if ref_min is not None or ref_max is not None:\n ...@@ -86,6 +86,14 @@ if ref_min is not None or ref_max is not None:\n
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>state_change, **kw</string> </value> <value> <string>state_change, **kw</string> </value>
</item> </item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
......
...@@ -77,6 +77,14 @@ for line in line_list:\n ...@@ -77,6 +77,14 @@ for line in line_list:\n
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>state_change, **kw</string> </value> <value> <string>state_change, **kw</string> </value>
</item> </item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
......
439 440
\ 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