What does it mean by ad-hoc appointment / ad-hoc promotion?

What does it mean by ad-hoc appointment / ad-hoc promotion?