‘‘person in charge’’

means a person who has or at the relevant time had legal authority to give permission to a person to enter or reside upon the land in question;