A Warrant Officer isn't really in line of command (Although a Third Officer is, oddly, fourth or fifth in command.)
However a Third Officer is usually in charge of ship safety, which matches her behaviour throughout the film -- demanding Dallas adhere to quarantine protocol, etc.