fix user registration on actions

This commit is contained in:
Milan Kolar 2018-10-30 15:40:12 +01:00
parent d40d504489
commit 4f90a4984a

View file

@ -343,7 +343,9 @@ class BaseAction(object):
def register(self):
'''Registers the action, subscribing the the discover and launch topics.'''
self.session.event_hub.subscribe(
'topic=ftrack.action.discover', self._discover
'topic=ftrack.action.discover and source.user.username={0}'.format(
self.session.api_user
), self._discover
)
self.session.event_hub.subscribe(