During a routine access review at the Tankwa Gambling and Betting Board, the fictional provincial regulator in this series, the security lead found three surprises. A compliance officer who had moved to the licensing team a year earlier could still edit inspection findings. A contractor who had built a reporting tool still had an active account, eight months after the contract ended. And the service account that imported licensees' monthly returns had been given broad rights during testing, which meant it could, in principle, change the status of an enforcement case.
Nobody had misused any of this access. That was luck, not control. For a regulator, the risk is not only a data breach. It is that someone could alter the evidence a decision rests on, or take an action they had no authority to take, and the record would not show it clearly.
Part 6 set out who owns which decisions. This article covers how the systems enforce it. When officials work from licensees' premises and from home, licensees log in from their own offices and background processes move data between zones, the network boundary cannot protect the evidence. Identity has to. As in the rest of the series, legal references are general information, not legal advice.
Why identity, and why now
The idea is not new. NIST's Zero Trust Architecture (SP 800-207), published in August 2020, describes moving protection away from network perimeters to users, assets and resources, and granting no implicit trust because of network location. Zero trust security: a practical starting point covers the general approach, and Zero trust, segmentation and service networking covers the network side. This article applies the identity side to a regulator.
What makes a regulator different is the kind of harm that weak identity causes.
- Integrity of evidence. An inspector who can quietly edit a finding after the licensee has seen it undermines every decision based on that finding.
- Authority to act. Suspending a licence, issuing a compliance notice or referring a matter for prosecution each requires a delegation. If the system lets anyone press the button, the delegation exists only on paper.
- Confidentiality across licensees. Licensees compete with each other. A licensee user who can see another licensee's returns is a serious breach of trust.
- Restricted information. Investigation files and information related to the Financial Intelligence Centre Act carry their own disclosure limits, as Part 4 described.
POPIA's security safeguards condition, in section 19, requires a responsible party to take appropriate, reasonable technical and organisational measures to protect the integrity and confidentiality of personal information. For a regulator, identity and access controls are among the most important of those measures.
Five kinds of identity
The Tankwa board's identity model starts with five populations, each managed differently.
| Identity | Where it lives | How it authenticates | Who manages it |
|---|---|---|---|
| Officials | The board's directory | Phishing-resistant multifactor authentication on a managed device | Human resources triggers, ICT administers |
| Licensee users | External identity, linked to the licensee's record | Multifactor authentication, with a licensee administrator | The licensee's administrator, accountable to the board |
| Contractors | The board's directory, as guests or time-bound accounts | As officials, with access that expires automatically | The engaging manager |
| Public users | Optional light identity, or anonymous | Email or phone verification where needed | The user |
| Workloads and service accounts | Managed identities in the landing zone | Platform-issued credentials, no stored passwords | The platform owner |
The last row is the one most often neglected. A modern regulator has more machine identities than people: the import job for returns, the integration with the front door, the reporting pipeline and, in future, AI tools and agents. Each needs an owner, a stated purpose and the smallest set of rights that purpose requires. Least-privilege as code shows how to make that enforceable for deployment pipelines.
Map identities to actions, not to systems
The common mistake is to grant access by system: "the licensing team has access to the licensing application". That says nothing about what a person may do inside it. The board's model grants access by action instead.
Three examples from the board's model show the difference.
- A compliance officer may view an operator's submitted evidence but cannot alter it. Submitted evidence is stored as received. The officer can add findings, comments and requests, which are recorded as new entries linked to the evidence, never as edits to it.
- A licensee user may submit only for its own licences. Authorisation checks the link between the user, the licensee and the licence on every request, not only at sign-in. This is the most common weakness in portals and APIs, and it is the first item in the OWASP API Security Top 10 (2023), broken object level authorisation.
- A background process may import transactions but cannot approve enforcement action. The import job writes to the returns store and creates cases. It has no rights on case decisions. If it is compromised, the damage is limited to what it was allowed to do.
The same principle will apply to AI. Identity before intelligence explains why every call to a model needs a known caller acting on someone's authority. When agents arrive, Agentic landing zones: from governed intelligence to governed action describes agent identity and credential brokering. For a regulator, an agent's identity never carries a decision-making delegation.
Separation of duties
Some combinations of rights are dangerous even when each right is reasonable on its own. The board lists them and prevents them by design.
| Should not be held by the same person for the same case | Why |
|---|---|
| Recording an inspection finding and approving its closure | The person who found the problem should not certify that it is fixed |
| Calculating a tax assessment and approving a write-off or refund | A classic fraud risk in any revenue function |
| Preparing a licence recommendation and making the licence decision | Keeps an independent decision-maker, where the delegation requires one |
| Administering the case platform and approving cases in it | An administrator could change the record of their own decisions |
| Changing a validation or risk rule and deploying it to production | Rule changes need review, as Part 6 described |
These rules are configuration, not policy statements. The case system checks them when an action is taken, and records any approved exception with its reason.
Privileged access
Privileged accounts can change the system itself: administer the directory, alter log settings, read every case or restore a database. At the Tankwa board they are treated as the highest risk in the estate.
- No standing privilege. Administrators use normal accounts day to day and request elevation for a specific task, for a limited time, with a recorded reason.
- Separate privileged accounts and devices for the supervisory intelligence zone, held by named people and reviewed at least quarterly, as Part 4 set out.
- Two people for the most sensitive actions, such as changing log retention or deleting a backup.
- Every privileged session is logged to the protected log store that zone administrators cannot alter.
Conditional access and the inspector in the field
Inspectors work at casinos, betting shops and limited payout machine sites, often on mobile networks. Conditional access lets the board decide access by context, not only by credential.
- A managed, compliant device with phishing-resistant authentication can reach case records and capture findings.
- An unmanaged device can reach only the public services and email, never the intelligence zone.
- Sign-in from an unusual location or at an unusual time for a privileged role triggers re-authentication and an alert.
Field work also needs a fallback. If connectivity fails at a site, the inspector captures findings on the managed device, and they are uploaded and time-stamped when the device reconnects. Part 9 returns to working when systems are degraded.
The access lifecycle
Most access problems, including all three at the Tankwa board, are lifecycle failures: access that was right once and was never removed.
- Joiner. Access is granted from the role, based on a record from human resources, not on a copy of a colleague's access.
- Mover. A change of role removes the old access as well as adding the new. This is where the compliance officer's edit rights should have ended.
- Leaver and contract end. Access ends on the date in the record, automatically. Contractor accounts are created with an end date.
- Review. Service and data owners review who holds access to their services each quarter for sensitive roles and at least yearly for the rest. A review that is approved without changes every time is a warning sign.
- Machine identities are reviewed by the platform owner with the same discipline, including rights granted temporarily during testing.
From pilot access to durable entitlement describes the same problem for AI tools, where access granted for a pilot quietly becomes permanent.
What this does not mean
- It does not mean one product solves it. A directory, a multifactor service and a privileged-access tool are necessary. Without the action map, separation of duties and lifecycle, they protect the wrong things.
- It does not mean the network no longer matters. Network segmentation still limits the damage when an identity is compromised. Identity is the primary control, not the only one.
- It does not mean distrusting staff. Clear limits protect officials too. An inspector who cannot alter a finding after the fact cannot be accused of doing so.
- It does not mean the licensee's security becomes the regulator's job. The board sets the conditions for licensee access to its services. Each licensee remains responsible for its own users and administrator.
An identity readiness checklist
| Check | Ready when |
|---|---|
| All five identity populations are listed with an owner | Including every service account and integration |
| Access is granted by action, not by system | The action map exists for each regulatory service |
| Submitted evidence is immutable | Officials add records, and cannot edit what was received |
| Object-level authorisation is tested | Penetration tests check that licensee A cannot reach licensee B's data |
| Separation-of-duties rules are enforced in the system | Exceptions are recorded with reasons |
| No standing privileged access | Elevation is time-bound, reasoned and logged |
| Joiner, mover and leaver are automated | Contractor accounts expire on the contract end date |
| Access reviews produce changes | Each review's removals are reported to the steering forum |
Executive readiness questions
- How many people could change an inspection finding today after the licensee has seen it?
- Can any background process in our estate change the status of a licence or an enforcement case?
- How long after a contract ends does a contractor's access actually stop?
- Have we tested whether one licensee's users can reach another licensee's data through our portal or API?
- Who reviews our service accounts, and when did they last remove one?
Key points
- For a regulator, weak identity threatens the integrity of evidence and the authority to act, as well as confidentiality.
- Manage five populations: officials, licensee users, contractors, public users and workloads. Machine identities usually outnumber people and need owners too.
- Grant access by action, not by system. Submitted evidence is immutable, licensees reach only their own licences and import jobs cannot approve anything.
- Enforce separation of duties and remove standing privilege. Log every privileged session to a store administrators cannot alter.
- Most failures are lifecycle failures. Automate joiner, mover and leaver, and make access reviews remove access.
This is part 7 of Regulating a Digital Gambling Economy. Previous: The digital regulator's operating model. Next: Records are evidence, not administrative clutter.
For logging what staff do with AI tools, see What must be logged when staff use AI.
Background reading: NIST SP 800-207, Zero Trust Architecture (August 2020); NIST SP 800-63-4, Digital Identity Guidelines (July 2025); OWASP API Security Top 10 (2023); Protection of Personal Information Act 4 of 2013. Checked on 7 November 2026. This article is general information, not legal advice.
How CloudNala can help
CloudNala helps regulators build identity models that protect evidence and enforce delegations. We list every human and machine identity in your estate with its owner, build an action map for your highest-risk services, define separation-of-duties rules your case system can enforce, and design privileged access without standing rights. We then automate the joiner, mover and leaver process, test object-level authorisation in your portal and APIs, and set up access reviews that report what they removed.
Work with CloudNala
CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.
Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.
Book a Regulatory Technology Review or write to us at consult@cloudnala.co.za
