add 'user' to representation context data

This commit is contained in:
Jakub Trllo 2022-09-01 13:24:33 +02:00
parent 1f06830a03
commit 3983256849
3 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
# the database even if not used by the destination template # the database even if not used by the destination template
db_representation_context_keys = [ db_representation_context_keys = [
"project", "asset", "task", "subset", "version", "representation", "project", "asset", "task", "subset", "version", "representation",
"family", "hierarchy", "username", "output" "family", "hierarchy", "username", "user", "output"
] ]
skip_host_families = [] skip_host_families = []

View file

@ -46,7 +46,7 @@ class IntegrateHeroVersion(pyblish.api.InstancePlugin):
ignored_representation_names = [] ignored_representation_names = []
db_representation_context_keys = [ db_representation_context_keys = [
"project", "asset", "task", "subset", "representation", "project", "asset", "task", "subset", "representation",
"family", "hierarchy", "task", "username" "family", "hierarchy", "task", "username", "user"
] ]
# QUESTION/TODO this process should happen on server if crashed due to # QUESTION/TODO this process should happen on server if crashed due to
# permissions error on files (files were used or user didn't have perms) # permissions error on files (files were used or user didn't have perms)

View file

@ -127,7 +127,7 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
exclude_families = ["render.farm"] exclude_families = ["render.farm"]
db_representation_context_keys = [ db_representation_context_keys = [
"project", "asset", "task", "subset", "version", "representation", "project", "asset", "task", "subset", "version", "representation",
"family", "hierarchy", "task", "username" "family", "hierarchy", "task", "username", "user"
] ]
default_template_name = "publish" default_template_name = "publish"