© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
6 replies
riccardo

Access insert values from policy

Hi i'm struggling for create a policy that check the inserted values, i have a "like button" function where i pass the "profile_id" of the user how i can check if this profile_id is belonging to the authenticated user? Also i need to check the like count based on the "post_id"
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 policy blocking Insert from Debug
SupabaseSSupabase / help-and-questions
5mo ago
RLS - Help with Insert Policy
SupabaseSSupabase / help-and-questions
4y ago
Failing to insert due to policy?
SupabaseSSupabase / help-and-questions
4y ago
Why doesn't an INSERT policy allow inserts?
SupabaseSSupabase / help-and-questions
4y ago