Problem is that Cargo aircraft don't carry cabin crew and don't have safety and escape equipment suitable for use by anyone who has not had crew training. Therefore, only those with a crew function (inc ground crew) and who have completed the same safety equipment training as the flight crew can fly on board.