Back

Disable permission from client side

  • 0
  • Databases
  • Cloud
StoneColdSteveAustin
5 Mar, 2024, 20:51

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.

TL;DR
Developers want to disable users from setting their own permissions on the client side. They need advice on how to achieve this and are open to alternative methods for handling permissions logic.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more