yjs / y-websocket

Websocket Connector for Yjs
https://docs.yjs.dev/ecosystem/connection-provider/y-websocket
MIT License
492 stars 255 forks source link

How to verify permissions in websocket #179

Closed SymphonyIceAttack closed 4 months ago

SymphonyIceAttack commented 4 months ago

I want to control the permissions of the edit of the yjs when the websocket are linking . I hope that different users can perform different operations on the yDoc object based on their permissions. For example, user A can edit and view, but user B can only view