The Scottish Prison Service is facing strong criticism for signing a confidentiality agreement with the private security firm, Reliance.
The Scottish Information Commissioner carried out an investigation into the agreement, following an SNP complaint.
He has now expressed "dissatisfaction" with a legally-binding clause which allowed Reliance to stop full the publication of the contract.