Most of the time, at the gate, the Flt. Attendant will come up and tell the Captain what's going on back there, who's doing what or rather, not doing what and then if warranted, Captain or FO will call the GSC (Ground Security Coordinator) and or a Gate Supervisor to deal with the problem.
I would have intervened on this one. Absolute bullshit.