Unless this action in some way violated the terms of an eployment contract or union agreement, it was legal. The fact is that most work is "at will". Therefore, your company can set the conditions of the workplace much as it sees fit (absent some form of legally actionable discrimination which is not apparnebt in the details given). This includes how to set up an interview process.