add right check to cabinet controller