Does supabase can handle things like for example in user table you have an email field then always omit in returned response in client? i just want to think that i dont want to expose the email value depends on the role. (maybe if not an admin)
n
Needle
05/26/2022, 12:48 PM
Hello @__ianjasper!
This thread has been automatically created from your message in #843999948717555735 a few seconds ago.
We have already mentioned the @User so that they can see your message and help you as soon as possible!
Want to unsubscribe from this thread?
Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates.
Want to change the title?
Use the ``/title`` command!
We have solved your problem?
Click the button below to archive it.
m
mansueli
05/26/2022, 1:31 PM
Hi there,
I recommend you to take a look at the deep dive in the docs.
This is the relevant part (including a video explaining):
https://supabase.com/docs/learn/auth-deep-dive/auth-policies
If you need more context, then read/watch also parts 1 and 2 before this one.