The Scottish Information Commissioner said the Scottish Government’s actions were disrespectful to the public and reflected poorly on ministers.