© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
5 replies
floyare

Supabase RLS accessing user's email.

So I have a table with user profiles that contains basic user data like username, email, uid, etc. Now I have RLS enabled for this table to allow only user's profile to be edited. The thing is I want to get access to user's email from
SELECT
SELECT
only if it's his profile. Anybody know how can I do that by RLS Policy?
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

Supabase RLS
SupabaseSSupabase / help-and-questions
3w ago
supabase user account signup confirmation email
SupabaseSSupabase / help-and-questions
8mo ago
How to enforce RLS when accessing data via supabase-js?
SupabaseSSupabase / help-and-questions
2mo ago
Postgres RLS user
SupabaseSSupabase / help-and-questions
4y ago