Set student and team twice because they are required both for action_allowed? and for the assignments, but action_allowed? isn't called when there is a super-user