Poe flew an X-Wing - not his own signature fighter, probably a stock-issue to hide his identity - early in the movie that featured a retractable anti-personnel turret gun, much like the one on the Millenium Falcon, that is able to engage in a firefight with attacking stormtroopers, with enough power and accuracy to take them out with one shot.
I don't think I've ever seen this before. Is this within regulation or a special modification, and is it a design feature that has always been there or only in the newer post-Endor models of the X-Wing?