Commit 0046d70f authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Use Computer Owner instead current logged user when create an event

Only the ownder has access to the computer for perform such query, and depending of the logged user prevents us automation.
parent fd3565b0
......@@ -103,7 +103,7 @@ else:\n
url_string=software_release_url,\n
aggregate=computer.getRelativeUrl(),\n
activate_kw={\'tag\': tag},\n
destination_section=portal.ERP5Site_getAuthenticatedMemberPersonValue().getRelativeUrl()\n
destination_section=computer.getSourceAdministration()\n
)\n
\n
# Change desired state\n
......
317
\ No newline at end of file
318
\ 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