
I am setting up a new Database and there will be different authenticated users that need to only create, read, update and delete only their own records.
In the Dashboard do I add to permissions Users role and check the create, read, update and delete options? Is this how you setup the rules? Or nothing here?
In my Flutter code I am using:
Permission.read(Role.user(idUser)),
Permission.write(Role.user(idUser)),
Is this the correct combination? In Firebase and Supabase you setup the rules in the Dashboard panel, not in code.
I want to make sure this is done correctly.
Thank you.

ps: I am assuming that the Permission.read() and Permission.write() must be added to the createDocument(), updateDocument(), deleteDocument() Appwrite methods?
Recommended threads
- Queries Length Error.
Hi All, I am having a issues across my app with how i am getting data, and just wanted to check if this was an issues with the new changes on appwrite over the...
- Realtime is not working!!
It shows `Session is not valid`. I am using SSR login. If if set table permission `User(Read)` then realtime can not show update. But if I set table permission...
- The current user is not authorized to pe...
I'm just getting this error while it was working couple minutes ago, my users have permissions to access and create tables data but on some databases I'm just g...
