How can I grant permission for a user to add data to a table in a way that only that user can delete/edit/view the data they added?
You would need to grant users create permissions on a collection and then turn on document level security on on the collection. When the user creates a document on the collection, it will default to grant them read, update, and delete access on the document
thanks. I thought it would grant permissions to all users to operate, not just the user who created it.
It should be only create for users
Recommended threads
- Seed db
hello there... is this correct way to seed appwrite
- 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?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...