The main disadvantage is that it frees the government from accountability and can ultimately lead to an entrenched group of kleptocrats in power. The main advantage is that it is easy money to simply allow outside companies to pay for oil extraction and just collect the money without having to develop yourself, but ultimately that is a disadvantage.