 In the law of contract, the doctrine of privity meant that only those who were party to a contract could sue or be sued upon it.This doctrine was substantially amended by the Contracts (Rights of Third Parties) Act 1999. which allows beneficiaries under a contract to enforce it.Almost all criminal prosecutions are brought by the state via the Crown Prosecution Service, so private prosecutions are rare.