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
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...