ynput / ayon-deadline

Deadline addon for AYON
Apache License 2.0
3 stars 11 forks source link

AY-6015_Deadline publish should use user name #25

Closed ynbot closed 2 months ago

ynbot commented 2 months ago

Please describe the enhancement you have in mind and explain what the current shortcomings are?

submit to render farm ➝ render farm renders with the service account ➝ publish registers the products with the service name, not the original user requesting it

there can be more situations like this with other services

How would you imagine the implementation of the enhancemenet?

No response

Describe alternatives you've considered:

No response

Additional context:

link to discussion on [Discord]() (might be a private channel)

This issue was automatically created from Clickup ticket AY-6015

BigRoy commented 2 months ago

I believe it's this that sets the "user" on deadline submissions in Deadline itself.

Via that - when submitted along - that will also be the user that I believe the publish job will report. Or at least, I've never seen the "deadlineservice" as user listed on published products?

It is likely that the user entry is lacking with submissions in some hosts. Hence, it may be good to list what applications this ticket relates to.

kalisp commented 2 months ago

No, that would be used for rendering (if you would like to use your machine, you would need to login to it). That value holds OS user name (in make case 'pkalis' - and that value doesn't show anywhere).

It is controlled by AYON_USERNAME and I just tested it and it propagates correct value there. (Hardcoded testuser2 for test: image

Cannot reproduce, probably fixed. (This issue sounds familiar.)