Etymology
Today it means: The erection of lockable gates at the ends of alleys and passages. Full definition →
From alley + gating.
Etymology from Wiktionary, CC BY-SA 4.0.