BUGFIX: 3.1 compatibility issue; defined $allowed_actions