If a friend visits with children and you say "I don't allow the kids to do X" is it your job or the child's parents to make them follow that?
For example, a few days ago I had a friend visit with her child. I said I don't allow toys on the trampoline, because it's a recipe for broken bones. Their child kept dragging bikes and other toys on the trampoline and I was constantly running back and forth, taking toys away and eventually giving up and saying no more trampolines because you're not listening to me. Causing a massive tantrum.
Throughout this friend just sat on her phone, sometimes rolling her eyes at her child, but making no effort to tell them not to do it.
If this was the other way round I would absolutely be stepping in to stop my child from doing it.
Yabu: you set the rules, you enforce them.
Yanbu: it's the parents job to make sure their kids are listening