Test commit permission.