Permit not needed for a roof job. Unless new square footage was added. But even then, the permit would be for the structural components, not the roofing shakes.
How extensive is the electrical work? If its an outlet or two, an overhead light, and a light switch I wouldn't worry about it.