I have a military training room which is off a corridor which branches off near the entrance to my base. To maximize training time, I have tables in the room, with food and drink stockpiles next to them. The problem is, because my main food/drink stockpiles and tables are much deeper in the mountain, any dwarf that is outside or near the entrance goes to the military stockpile when they get hungry/thirsty.
I've tried setting the corridor and the room to restricted, and bumped the cost up to 100, but apparently they ignore pathing costs when getting food/drink, so it does nothing. What can I do to make it so only the military dwarves can use those stockpiles and tables, while still allowing civilians to refill the stockpiles?