quick hack to get action_allowed working.