Turn off Edit and Raw mode shortcuts if !edit_permission