What gets precedence in RLS and CLS?

Hi,

I am setting up an RLS policy that gives SELECT access to user_id = auth.uid(). And I am also setting a CLS that basically grants update access to only specific columns column1 and column2.

So Does RLS get any precedence over CLS? If so, will I also have to create RLS policy to allow UPDATE or this will work just fine?
Was this page helpful?