The Marvels director Nia DaCosta explained that she was fully aware how much influence and control Marvel Studios president Kevin Feige would have when she signed on to direct the Captain Marvel sequel.
Source:https://www.cbr.com/the-marvels-director-admits-she-had-to-give-up-control-to-kevin-feige-its-his-movie/