mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
AY-5539 - do not use profiles for traypublisher
This commit is contained in:
parent
cd11db27aa
commit
2cf7f36f9b
1 changed files with 5 additions and 1 deletions
|
|
@ -1852,6 +1852,10 @@ class PublisherController(BasePublisherController):
|
||||||
|
|
||||||
If no profile provided for current context, it shows all creators
|
If no profile provided for current context, it shows all creators
|
||||||
"""
|
"""
|
||||||
|
allowed_creator_identifiers = []
|
||||||
|
if self._create_context.host_name == "traypublisher":
|
||||||
|
# no real context known
|
||||||
|
return allowed_creator_identifiers
|
||||||
proj_settings = get_project_settings(self.project_name)
|
proj_settings = get_project_settings(self.project_name)
|
||||||
filter_creator_profiles = (
|
filter_creator_profiles = (
|
||||||
proj_settings
|
proj_settings
|
||||||
|
|
@ -1871,7 +1875,7 @@ class PublisherController(BasePublisherController):
|
||||||
filtering_criteria,
|
filtering_criteria,
|
||||||
logger=self.log
|
logger=self.log
|
||||||
)
|
)
|
||||||
allowed_creator_identifiers = []
|
|
||||||
if profile:
|
if profile:
|
||||||
allowed_creator_identifiers = profile["creator_identifiers"]
|
allowed_creator_identifiers = profile["creator_identifiers"]
|
||||||
return allowed_creator_identifiers
|
return allowed_creator_identifiers
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue