Using json data in rls check from request
Ive been playing around with supabase since yesterday trying to grasp how to use it.
It is pretty straight forward how to use data from the jwt in the rls checks,
but i was wondering if theres a way to use request data too.
To be more specific my use case is that i only want to allow a insert if a given parameter of the request body exists in another table.
I tried finding this in the docs but wasn't able too, can someone point me there if i missed it?
It is pretty straight forward how to use data from the jwt in the rls checks,
but i was wondering if theres a way to use request data too.
To be more specific my use case is that i only want to allow a insert if a given parameter of the request body exists in another table.
I tried finding this in the docs but wasn't able too, can someone point me there if i missed it?