Neither Scottish nor UK law more generally are prescriptive in the rights accorded to citizens. All the various Human Rights legislation is the bare minimum not the maximum freedom.
This is the opposite of most other countries where you have no rights except those specifically granted by the State.
This is why most of the "Roolz" in March 2020 were couched in terms of "guidance" rather than legislation and why it was so "problematic" to critique Cummings, Jenrick or Kinnock. Closer to home Catherine Calderwood did nothing illegal. The line was crossed when guidance started to be replaced with legislation but so far most if not all penalties under said legislation have fallen on legal challenge. (see Adam Wagner on twitter)
There is a further aspect to this with regards to the State not fulfilling its responsibilities in relation to its citizenry. Denial of healthcare, Care
Homes, Education etc all look open to challenge here. eg I vaguely remember case law on prisoner visiting rights - it seems inconceivable and shocking that nursing home residents and hospital patients have fewer rights atm.
Charles Walker is calling for a Royal Commission post pandemic and Lord Sumption similarly minded.
The Scottish Govt is potentially more exposed than the UK Govt because the Scottish Legal system is intrinsically more Principle based than the English system which has more reliance on Precendent as amended by Statute.
As Charles Walker put it "how can it be right for the State to legislate against hugging your own children?".