Securing access to database functions only - Supabase