Restricting as much as is possible to the Pope, Bishops, Priests and Deacons, who disciplines who within the hierarchy of the Catholic Church?
Does that change whether it is in the Western Church or the Eastern [particular] Churches?
Is it dependent on the type of discipline?
The answer will include examples such laicization of clerics and excommunication, and others for necessary illustration and clarity.
Related: How do the Pope, Bishops, Priests relate to one another in the Catholic Church's hierarchy?