Skip to content

Commit

Permalink
Deinfe role for TNC config events (#15395)
Browse files Browse the repository at this point in the history
sonicaj authored Jan 15, 2025
1 parent 32b81d9 commit ecedf68
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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']
)

0 comments on commit ecedf68

Please sign in to comment.