mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
AY-5539 - used labels instead of identifiers
Identifiers are bit hard to get to fill them into Settings, labels are visible in Publisher and can by Copy&Pasted.
This commit is contained in:
parent
3ffc19cb06
commit
96c11e6a33
2 changed files with 17 additions and 13 deletions
|
|
@ -50,9 +50,11 @@ class FilterCreatorProfile(BaseSettingsModel):
|
|||
task_names: list[str] = SettingsField(
|
||||
default_factory=list,
|
||||
title="Task names")
|
||||
creator_identifiers: list[str] = SettingsField(
|
||||
creator_labels: list[str] = SettingsField(
|
||||
default_factory=list,
|
||||
title="Allowed Creator Identifiers")
|
||||
title="Allowed Creator Labels",
|
||||
description="Copy creator label from Publisher, regex supported."
|
||||
)
|
||||
|
||||
|
||||
class CreatorToolModel(BaseSettingsModel):
|
||||
|
|
@ -70,7 +72,9 @@ class CreatorToolModel(BaseSettingsModel):
|
|||
|
||||
filter_creator_profiles: list[FilterCreatorProfile] = SettingsField(
|
||||
default_factory=list,
|
||||
title="Filter creator profiles"
|
||||
title="Filter creator profiles",
|
||||
description="White list of creator labels that will be only shown if "
|
||||
"profile matches context."
|
||||
)
|
||||
|
||||
@validator("product_types_smart_select")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue