Commit e0a539fc 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 7d683d50
...@@ -103,7 +103,7 @@ else:\n ...@@ -103,7 +103,7 @@ else:\n
url_string=software_release_url,\n url_string=software_release_url,\n
aggregate=computer.getRelativeUrl(),\n aggregate=computer.getRelativeUrl(),\n
activate_kw={\'tag\': tag},\n activate_kw={\'tag\': tag},\n
destination_section=portal.ERP5Site_getAuthenticatedMemberPersonValue().getRelativeUrl()\n destination_section=computer.getSourceAdministration()\n
)\n )\n
\n \n
# Change desired state\n # Change desired state\n
......
317 318
\ 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