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
- Not getting data
IDK what the issue is but I am stuck at a weried but that I am calling this function ``` @override Future<List<CategoryModel>> getCategories() async { t...
- Problem with the new Email policies
when user set those thing from cloud panel and when they open that page again or reload that time it forget what we have checked and it set default to false on ...
- Deleted my account, trying to signup aga...
https://cloud.appwrite.io/console/login?error=%7B%22message%22%3A%22This+email+address+must+already+be+in+its+canonical+form.+Please+remove+aliases%2C+tags%2C+o...