mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Action syncToAvalon - changed identifier and label. Is visible only for role 'Pypeclub'
This commit is contained in:
parent
a7ac81dcc1
commit
3fda5c32b3
1 changed files with 3 additions and 3 deletions
|
|
@ -48,9 +48,9 @@ class SyncToAvalon(BaseAction):
|
|||
'''
|
||||
|
||||
#: Action identifier.
|
||||
identifier = 'sync.to.avalon'
|
||||
identifier = 'sync.to.avalon.local'
|
||||
#: Action label.
|
||||
label = 'SyncToAvalon'
|
||||
label = 'SyncToAvalon - Local'
|
||||
#: Action description.
|
||||
description = 'Send data from Ftrack to Avalon'
|
||||
#: Action icon.
|
||||
|
|
@ -61,7 +61,7 @@ class SyncToAvalon(BaseAction):
|
|||
''' Validation '''
|
||||
roleCheck = False
|
||||
discover = False
|
||||
roleList = ['Administrator', 'Project Manager']
|
||||
roleList = ['Pypeclub']
|
||||
userId = event['source']['user']['id']
|
||||
user = session.query('User where id is ' + userId).one()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue