The staff travel system these days is extremely transparent, staff know exactly how many seats are available in each cabin, how many are booked and how many have checked in, prior to boarding. If there are upgrades available they will go to those with the cabin priority and seniority. The old days of hovering around the desk dropping hints are all but gone.
Unless you are dead heading crew of course, in which case its Capt's descretion.