What is the meaning of the word "ticket-of-leave"?

Definitions: