Hey,
After a user sends a message in the chat app, a function runs to grant the sender and receiver the necessary permissions. However, I've noticed that users can set their own permissions from the client side in the createDocument request.
How can I disable this? Also, is there any other method besides a function to handle permissions logic?
Looking forward to your insights.