Need help defining security policies
I have a
I wanted to create policies to improve the security.
Authenticated users should be able to UPDATE or DELETE their account.
All users should be able to sign up a new account, (INSERT).
I use this policy schema:
But it stops working after I apply this. The error in the logs is:
Can someone help me with setting up the correct policy?
users table, and without any policies I can use supabase auth to insert rows here without issues.I wanted to create policies to improve the security.
Authenticated users should be able to UPDATE or DELETE their account.
All users should be able to sign up a new account, (INSERT).
I use this policy schema:
But it stops working after I apply this. The error in the logs is:
Can someone help me with setting up the correct policy?