A martinet was a term for a strict authority figure.
In 2379, while toasting William T. Riker and Deanna Troi at their wedding, Jean-Luc Picard jokingly referred to Data, his new first officer, as "a tyrannical martinet who'll never, ever allow me to go on away missions!" (Star Trek Nemesis)