3.1 $allowed_action changes compatibility