Like someone else said “coaching” where you offer guidance and explain likely consequence of their actions in a fairly passive way but still allow them to do something stupid if they’re really insistent is usually fine. To me “discipline” typically means actually punishing for an action, which is over the line if you aren’t there parent unless there’s actual violence. Such as if a kid hit my kid I am going to physically force them apart but afterwards we are just leaving and not coming back. I’m not punishing that other kid beyond a stern verbal warning not to ever do it again.