Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’4y agoβ€’
1 reply
Cory

I want to restrict the person who is logged in to only edit their own data - Is RLS the answer?

I want to restrict the user to only be able to edit their own data. Right now I have a basic RLS policy set up, but I am also passing the user session id to make sure it matches the one in the table. Is this really needed or are they already blocked out?
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

What is the approach of managing their own data?
SupabaseSSupabase / help-and-questions
3y ago
I want to create RLS were gyms can only see their own members
SupabaseSSupabase / help-and-questions
4y ago
Allowing users to view their own data
SupabaseSSupabase / help-and-questions
4y ago
In the realtime feature, can an individual user subscribe to only their own events?
SupabaseSSupabase / help-and-questions
3y ago