Class 1 requires the ground to be attached to the chassis and any other metal parts that the user can touch. We've been through this extensively and the relevant documents have been linked to.On another point on the grounding. Although not entirely safe. As a 3 prong IEC cord and connector was used, the connection was properly polarized, whereby the neutral side of the line was connected to the chassis. As the neutral side of the line is bonded to ground at the panel entrance, a path to ground is available. This itself will lessen the shock hazard. The ground connection was added as additional safety.
If the neutral side of the line were connected to the chassis, that would be insanely bad practice.