[ADD] {de,re}activate_workflow_transitions api

This allows conveniently disabling workflow transitions during a migration