Add support for SF2.4's allow_if config