She was under no obligation to let him in and shouldn’t have.
“She was under no obligation to let him in and shouldnt have.”
He lives in the building.
He has a right to enter the building.