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
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...