I’d like to allow / deny a channel or topic subscription but I can’t find info on how to do this properly.
The user can request any subscription from the client. And the Controller methods are onMessage, onClose and onError. So, there is no method to stop a user from subscribing to any channel or topic they want.
Please help for start working in a Middleware to solve this.