Revolution brings opportunity to reshape a legal framework designed to suppress human rights and entrench military rule.