RLS issues

Don't understand how this is supposed to work. Using the standard "profiles" table created by the SQL template provided by the Supabase web admin.

From what I can tell it should use the "auth" state of the supabase client to do inserts restrictred by uuid, but it won't let me update any column with RLS on, regardless of being logged in or not.

I have a "CHECK EXPRESSION" saying

(uid() = id)


on my profile table. But I can't get it to work while RLS is on.
Was this page helpful?