Got it, so it's about restricting user's access to the DB. I was worried that the uid works similar to a session ID.
Do you know if there is an article about best/secure practices when it comes to auth/RLS? I just clicked through the documentation and I can't find anything like that.
Some policy templates use auth.uid() and others auth.email(). I was wondering if there's a reason behind that