[#81648346] Fix remote code execution in TasksController#enforce_policy_on_create

https://www.pivotaltracker.com/story/show/81648346
— RW + DT