Create a new RLS question.

Hi there! I have a table "public.users" with a column "admin: true/false" and also a column "role_id", which stores the role id.
I would like to know how to create an RLS so that only users with this flag true can add new users. I'm trying some examples, but I'm not successful at any.
Was this page helpful?