I would like to know if appwrite implements RLS or similar effects?
- 0
- Web
- Databases
- Auth
- General
- Cloud
I would like to know if appwrite implements RLS or similar effects? My requirement is to allow users to create tasks. It's simple. But I want them to only create their own tasks and not impersonate other users. I found that RLS can solve this problem, but appwrite doesn't seem to have this function. I would like to achieve this without a backend.
Heyy 👋 In collection settings, you can enable "document security". This will allow you to set pemission not only on collection, but on document too.
Then, on collection you can set "create" to "users" - so all users can create tasks. But don't set "read"; so noone can actually read them.
Then, when creating document, you can set permission who can read/update/delete it. By default, this is set to current user, but you can also customize it to multiple users, or a team.
Recommended threads
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- createCollection Deprecated
- edu email
my edu email is my seccondary email for github and when i signed in i dont think its registering i have an edu email using githubs education pack anyone know ho...