Deciding on compensation structure, recruiting/hiring, and handling things like leave, benefits etc. Can all, depending on the company, fall under the purview of HR. None are primarily to protect the company from liability.
There are certainly some parts of the job primarily about avoiding liability but, as go said, that's true for many swes too.
There are certainly some parts of the job primarily about avoiding liability but, as go said, that's true for many swes too.