The legal issue is "intent to fly". If an aircraft moves under it's own power with the intention of flight, then a licence or instructor authorisation is required. If there is no intent to fly,eg for fuel, to the hangar, or engineering run ups, then no ticket or authorisation is needed.