Section 170 bars bequest by a sirdar or bhumidhar with non-transferable rights; the prohibition applies to the testator's status at death, not at execution, so a Will executed when the testator lacked bequeathing power becomes operative if he acquires that power before death.
Mohammad Rashid v. Deputy Director of Consolidation Lucknow and OrsAllahabad High Court, single judge20172017 Cassie (ALD HC) 454para 18