pub fn gate(tier: &Tier, required: &Tier, feature: &str) -> Result<(), String>
Check whether the current tier allows an action and return an upgrade prompt if not.