© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
17 replies
Liz

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?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

RLS Condition check
SupabaseSSupabase / help-and-questions
4y ago
RLS on UPDATE `WITH CHECK` call function using new row data?
SupabaseSSupabase / help-and-questions
4y ago
RLS delete check based on auth.users.meta_data?
SupabaseSSupabase / help-and-questions
4y ago
Get new data from request
SupabaseSSupabase / help-and-questions
4y ago