If i want any authenticated user to be able to read the document and only the creator to be able to update or delete
- What should I set the permissions to on the document
- Should I have any permissions on the collection or only on the Document
Thanks
any authenticated user to be able to read the document
Grant read permissions to users at the collection level
only the creator to be able to update or delete
Enable document security on the collection and then don't pass anything for permissions when the user creates the document
So by default the creator of the document has all Permission to the document by default
Recommended threads
- Endless certificate generation cycle
Hello, when I try to add the subdomain stats.hedgehog-rp.ru, I get an infinite loop while the certificate is being generated. There are no problems with adding ...
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- How to handle ghost accounts created by ...
Appwrite create the account with the email and send an invitation link with a secret. I am able to accept the invitation and add the account as a member on the ...