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
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- Sveltekit + Bun sites runtime not deploy...
anyone tried deploying sveltekit + bun sites? its building but not running, and the only thing from build console to value is ``` > Using svelte-adapter-bun .s...
- Register Disable
this is possible disable register but keep oauth login?