Validate user permissions - Supabase