REVOKE ALL ON FUNCTION public.has_role(uuid, public.app_role) FROM PUBLIC, anon, authenticated; REVOKE ALL ON FUNCTION public.is_aprovado(uuid) FROM PUBLIC, anon, authenticated; REVOKE ALL ON FUNCTION public.registrar_perfil() FROM PUBLIC, anon; GRANT EXECUTE ON FUNCTION public.registrar_perfil() TO authenticated;