In the New Zealand context  it is the Treaty of Waitangi that defines the rights of Maori and of subsequent settlers In particular the right of Maori to rangatiratanga (self determination) as per Article 2 (of the te reo Ti Tiriti O Waitangi which after all was the treaty almost all chiefs signed and as per the UN Declaration of the Rights of Indigenous Peoples  takes precedence anyway)