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
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...