commit role code