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
- Does Appwrite allow SSE ?
i'm trying to setup a slack bot on my site. Your deployed SSE endpoint is returning a non‑SSE response …and the browser immediately closes the connection. read...
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- 1.8.1 - Databases - inline updating a ro...
When updating a database field via the inline edit method, the `$updatedAt` column does not get updated. Only if the row is updated by the "Update" interface (t...