Water laws for "Water Sharing" to avoid dispute in India.

I just can not read anymore these news about "Cauvery water dispute". These are disturbing news. What do you all think? Which laws are necessary to avoid these disputes?