Closed fabiaserra closed 3 weeks ago
I think we should rather use ayon api functionality to behave as other user during farm publishing, rather than changing coller user functionality.
https://github.com/ynput/ayon-core/commit/43787fd9c39f16bc8bf75d401b038a5a2fb56988 (available in branch )
Changelog Description
This passes the
status
and(now resolved at https://github.com/ynput/ayon-core/commit/43787fd9c39f16bc8bf75d401b038a5a2fb56988) args to the creation of new version on integrate. Without passingauthor
author
when integrating in Deadline it was defaulting to theservice
userI also changed thecollect_current_ayon_user
plugin to this, although looking back now I'm not sure if that was necessary or it was just a matter of exposing theauthor
.Additional Information
Needless to say that currently the
instance.data["status"]
isn't being set by any of the collect plugins in AYON but it would be as simple as adding that in order for this to take any effect. In my situation, I'm setting that over the integrate_shotgrid_version of theayon-shotgrid
as there's some other data that I need from the SG integration to also add to the AYON version entity. This is the code that I'm running in myayon-shotgrid:integrate_shotgrid_version
:Testing notes: