It is illegal for a private citizen spy on someone via a hidden camera in a private space. A person is allowed to hide cameras in their own home or property, even if they don't warn you about their presence. If they have a valid reason for installing a camera, it will likely be deemed legal.