BAE Systems’ plans to use a Barrow building for training purposes have been given the go-ahead.