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
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast
- Failed to generate functions SSL
```appwrite-worker-certificates | Cannot renew domain (functions.domain.com) on attempt no. 9 certificate: Failed to verify domain DNS records. appwrite-worker...