Yjs webrtc - clientside ignore all edits and deletes deltas

Hello. it is possible using yjs and y webrtc, to only accept “append”, and ignore any “edit” or “delete”? like a only write/append document? I can of course don’t add the option in my web app to only append, but someone could enter the “room” and start sending edits and deletes. if all my clients ignore those, I think that could work… but not sure how to do this… any advice?

also if I use subdocuments, they can be readonly only if using websockets, in which it will be the server that ignores any edits right? or. is there anyway to make a subdoc readonly? but using webrtc…


any tip? this is only possible with websockets as that way backend can decide who edits/deletes?