changed error behaviour of change_plan_permission