Open
Description
🔖 Feature description
cloud-beta : I needed DLS : should be like I can able to restrict each document based on
current user (can do with roles),
but can' t do based on
its attribute value, based on any relative relationship query
which is not what i getting
like in supabase : RLS : you can restrict row access based on "current user value" as well as column values or any "sql Query" (which returns boolean value, like exists(Sql query)), which gives a lot more flexibility
🎤 Pitch
Let say: I want for users to see only the posts posted in their organisation
which in my case, if i put like posts.organisationId === organisation.id
, then allow access,
but using roles stuff, kind of making it more complex in this scenario,
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
- I checked and didn't find similar issue