Documents are viewed by all the users that shouldn't be allowed to view
- 0
- Android
- React Native
- Databases
I'm trying to create a expense tracker using react native. Here i have two user in the ss one 'bangladesh' another 'fayek' . I want documents that are related to bangladesh should only be viewed by bangladesh and refrain fayek from viewing it. Here the issue is both bangladesh and fayek can view each other's data which is not normal in an expense tracker application. How to fix it?
If you turn Document Level Permissions on, only the user that creates a document can read / update / delete it (by default - you can customise those permissions). Give Users on the Collection just the Create Permission
Recommended threads
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...