leg disc anterior/posterior lineage restriction
Formation and/or maintenance of a lineage boundary between anterior and posterior compartments of the leg disc that cells cannot cross, thus separating the populations of cells in each compartment.
GO:0035201 · biological process