So you are telling me that if she went to her boss and said, "I need to go home because the police want to search my house," her boss would have said, "Oh, fine. Give me a report when you get back?" And everything would have been okay?
That is not what any boss I ever had would tell me.
Actually, by going thru the CO, the service member gains protection.
The CO can refuse the police access to a military member who is on a military base or ship.
Most CO's, when contacted by the police, would call the service member into the office to find out what's going on. "Sergeant, is there anything you want to tell me before I call back the police?"
Then, depending on the command's mission, the CO will allow the police access to the member or not. If yes, the CO might even ask the member, "Sergeant, do you want someone to go with you, or do you need to call the JAG?"
If the CO doesn't want to allow access, the CO will call back the police and tell them, sorry, they can't be allowed access now. If they have any questions, call the JAG.
That doesn't mean the service member is off the hook. The CO will initiate his own investigation as to what's going on.