diotima
Because my workplace is not one entirely based on sexual titillation\contact offered for cash, Dh randomly deciding that I can't teach people that he has never met on the basis that it places our relationship at an elevated risk of a breech of trust isn't really comparable.
BUT
If in the hypothetical my husband had noted my attraction before I had taken control of the situation off my own bat I'd hope he would have made his displeasure very well known. Pretty sure he would have.
I expect us to have each others backs if alarm bells are going off given that neither of us is perfect or infallible and sometimes a variety of desires and motivations can cloud a person's willingness and ability to look at a situation honestly.
I expect us to feel ready, willing and able to have an honest shouting match discussion that left neither in the dark about how one partner's behavior was making the other one feel.
I don't think it is juvenile to listen to your partner's views regarding a specific context, or being willing to take a partner's feelings\instincts\concerns\hurt into account.
I think it is an adult act to actively hear your spouse (of the non controlling variety) and place their desire for you to abstain from a certain situation above your own fizzing excitement at being in the situation, where their objections are reasonable.
It it also adult to be honest with yourself about their POV coming from a reasonable place rather than trying to re-frame it so it casts them in a negative light, cos you really want to find a good excuse to ignore them.
I would have been hugely disappointed in myself and had my self image utterly rocked to its core had I been unwilling to comprehend and base my subsequent actions on his (hypothetical) perfectly reasonable unhappiness about my pursuing the opportunity to bask in male attention for the sake of an ego boost, regardless of the risk to all three of us should a spark have set off a fucking great fire that burned our family down.