restrict available actions based in role. add basic locale support