Closed Nisthar closed 2 years ago
i am sending the authorization token via query param The read permission on my notifications collection is set to $CURRENT_USER
notifications
$CURRENT_USER
so only notifications sent to the user can read it.
But currently the websocket is receiving events for all the notifications after subscribing.
wow nice job
I can confirm its working now
i am sending the authorization token via query param The read permission on my
notifications
collection is set to$CURRENT_USER
so only notifications sent to the user can read it.
But currently the websocket is receiving events for all the notifications after subscribing.