diff --git a/src/middlewared/middlewared/plugins/truenas_connect/update.py b/src/middlewared/middlewared/plugins/truenas_connect/update.py index 937185c082448..ccb8bdc44eee9 100644 --- a/src/middlewared/middlewared/plugins/truenas_connect/update.py +++ b/src/middlewared/middlewared/plugins/truenas_connect/update.py @@ -161,4 +161,6 @@ async def config_internal(self): async def setup(middleware): - middleware.event_register('tn_connect.config', 'Sent on TrueNAS Connect configuration changes') + middleware.event_register( + 'tn_connect.config', 'Sent on TrueNAS Connect configuration changes', roles=['TRUENAS_CONNECT_READ'] + )