Earlier quoted context omitted.
It isn't. In fact, people there are uncomfortable about computers giving them orders (TNG S03E06). It works because in Star Trek, the society works. For instance, a ship's captain could easily access plenty of surveillance records about their whereabouts and activities, but as a matter of course, they don't . Cases where someone abuses technology for ulterior reasons are presented as negative, and protagonists do the…
In TNG they ask the computer for someone's location every other episode, usually without hesitation. Didn't go so well for Barclay, when they walked into his cringy holodeck fantasy program.
Which is appropriate. There's nothing wrong about locating a crew member on a _military vessel_.