Commit 7bc6d000 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_maileva_connector: Use proxy role to not over design security

 This is required for ensure the transition to acknowledge occur, without require to over
 design security on maileva exchange and system even module.
parent 5b5acb1c
Pipeline #37138 failed with stage
in 0 seconds
from zExceptions import Unauthorized
if REQUEST is not None:
raise Unauthorized
connector = context.getResourceValue() connector = context.getResourceValue()
connector.processResponse(response, context.getObject(), failed) connector.processResponse(response, context.getObject(), failed)
...@@ -50,7 +50,15 @@ ...@@ -50,7 +50,15 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>response, failed=False</string> </value> <value> <string>response, failed=False, REQUEST=None</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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