check_role for event type message

This commit is contained in:
Emmanuel Garette 2019-12-27 16:17:34 +01:00
parent 1e223e7b57
commit a6383f0c2c

View File

@ -151,7 +151,9 @@ class PublishDispatcher:
kwargs) kwargs)
try: try:
config_arguments = await self.load_kwargs_to_config(risotto_context, config_arguments = await self.load_kwargs_to_config(risotto_context,
kwargs) f'{version}.{message}',
kwargs,
check_role)
except CallError as err: except CallError as err:
return return
except Exception as err: except Exception as err: