The story behind this is that the Ecuadorean government tried to sell Amazon lands to oil companies for drilling. The Waorani, who live on those lands, took them to court over it, and they won.
—
The ruling "has created a significant precedent for the Amazon," said Lina Maria Espinosa, attorney for the plaintiffs, outside court.
"It has been demonstrated that there was no consultation and that the state violated the rights of this people, and therefore of other peoples."
https://phys.org/news/2019-04-ecuador-amazon-tribe-victory-oil.html