3.1 $allowed_actions changes compatibility