Sub topic 6
Who reviews: roles and separation of duties
This chapter assumes you have read the previous chapter on approval gates and can follow short Python dataclasses. It covers who may sit at each gate, and which people must not.
An approval gate stops a draft until someone says yes. The gate only protects you if the person saying yes is qualified and independent. A gate staffed by the person who requested the draft, or by someone with no knowledge of the subject, passes everything and catches nothing.
Roles are jobs, not people
Define roles by what a person does at a gate, and assign people to roles separately. A small team may have one person holding several roles. A large team may have a role held by a group. The workflow should check roles, not names.
| Role | What it does | Typical permissions |
|---|---|---|
| Requester | Writes the brief and starts the draft | Submit a brief, submit a draft for review |
| Editor | Revises the text and judges style, structure, and accuracy against sources | Edit, review |
| Subject expert | Checks that the claims are true | Review |
| Compliance or legal reviewer | Checks claims, disclosures, and regulated wording | Review, with a veto on high-risk items |
| Publisher | Releases approved text to the audience | Publish only |
Each role grants a few permissions and nothing else. The publisher cannot edit, so a publisher cannot change the text and then release it. The subject expert cannot publish, so a factual check does not become a release decision.
Separation of duties
Separation of duties is the rule that no single person can complete a risky sequence of steps alone. Accountants use it so the person who writes a cheque is not the person who approves it. In a content workflow the sequence is write, approve, publish. Three rules follow from it.
- The author cannot approve their own item.
- Anyone who changed the text cannot approve that text.
- Where the tier calls for it, the person who approves is not the person who publishes.
The reason is practical. People read their own work as they meant it, not as it is written. They also have a stake in the item moving forward. An independent reader brings neither bias.
Who is the author when an AI wrote the draft?
The model is not a person and cannot be held accountable, so it is never the author for these rules. Accountability for an AI draft falls on the people who shaped it:
- The requester wrote the brief and chose the sources, so they influenced every claim. Treat them as the author.
- Anyone who edited the generated text has helped write it. Treat them as an author of that version.
- A person who only pasted the model's output into the system is still the author. Running a prompt does not transfer authorship to the tool.
The gap to avoid is the "AI wrote it, so nobody wrote it" gap. If the item has no author on record, the self-approval rule has nothing to compare against, and the requester can approve their own request.
Qualified is more than independent
A reviewer must be independent and also competent for this item. An independent person who does not know pharmacology cannot approve a drug-interaction article. Record which role a reviewer is acting in, and require specific roles for specific content. For example, anything with legal claims needs the compliance role, and anything with numbers needs someone who can check the source.
Qualification can also expire. A subject expert who has not worked in the field for years may be less reliable than a current practitioner. Review the role assignments on a schedule, not only when someone joins.
Enforcing the rules in code
Write the rules as one function that returns every problem, so a rejected reviewer sees all the reasons at once. The example below extends the idea from the earlier approve method, which only compared the reviewer with the author.
from dataclasses import dataclass, field
ROLE_GRANTS = {
"requester": {"submit"},
"editor": {"submit", "edit", "review"},
"subject_expert": {"review"},
"legal": {"review"},
"publisher": {"publish"},
}
@dataclass
class Item:
author: str
editors: set = field(default_factory=set)
def permissions(roles):
granted = set()
for role in roles:
granted |= ROLE_GRANTS[role]
return granted
def review_problems(item, reviewer, roles_by_person, needed_role=None):
held = roles_by_person.get(reviewer, set())
problems = []
if "review" not in permissions(held):
problems.append("lacks a role that grants review")
if reviewer == item.author:
problems.append("is the author")
if reviewer in item.editors:
problems.append("edited the text")
if needed_role and needed_role not in held:
problems.append(f"does not hold the {needed_role} role")
return problems
roles = {
"ben": {"requester"},
"ana": {"editor"},
"carla": {"legal"},
"dev": {"publisher"},
}
item = Item(author="ben", editors={"ana"})
print(review_problems(item, "ben", roles))
print(review_problems(item, "ana", roles))
print(review_problems(item, "carla", roles, needed_role="legal"))
print(review_problems(item, "dev", roles))The four calls print these lists:
['lacks a role that grants review', 'is the author']for Ben.['edited the text']for Ana.[]for Carla, who may review.['lacks a role that grants review']for Dev.
An empty list means the reviewer is allowed. The workflow calls this function inside its approve step and refuses the transition if the list is not empty. Do not rely on the interface to hide the button. Hiding a button is not enforcement, because another client or script can call the approve action directly.
Edge cases
Small teams
With two people, one writes and the other reviews, and the roles swap on the next item. That still satisfies the rules. With one person, you cannot have separation of duties. Options are an outside reviewer for high-risk items, a scheduled peer swap with another team, or accepting the risk and recording that you did. Do not pretend a self-review is an independent one.
Shared accounts
If several people use one login, the audit trail cannot tell them apart, and the author and the reviewer may be the same person acting through one account. Give each person a separate identity. The rules in this chapter compare identities, so they are only as strong as the identities.
Delegation and absence
Reviewers go on leave. A delegation should name another qualified person, be recorded, and have an end date. A common failure is a blanket "anyone on the team may approve while I am out", which lets the requester's friend approve without the required role. Delegating a role is acceptable. Delegating authority to someone who lacks the role is not.
Conflicts of interest
Independence is more than not being the author. A reviewer who reports to the requester may feel pressure to approve. A reviewer whose bonus depends on the content going live has a stake in the result. Where this matters, add a conflict declaration to the review step and route declared conflicts to someone else.
Using a model as a reviewer
A second model can check a draft against a rubric, and the previous chapter on automated checks covers where that helps. It is a pre-check, not a role holder. It cannot be held accountable and it shares failure patterns with the model that drafted. Keep a named person at each approval gate.
Common errors
- Role checks by name list. A hard-coded list of approver names goes stale. Check roles instead, so adding or removing a person is a data change.
- Combining the approve and publish permissions for convenience. This makes the last gate vanish. Keep publish as its own permission, even if the same person later holds both roles for a low-risk tier.
- Ignoring editors in the self-approval rule. Checking only the author lets an editor who rewrote half the text approve it.
- Recording roles at review time only. Store the role the reviewer acted in on each approval. Otherwise, after someone changes jobs, you cannot show they were qualified at the time.
- Treating separation as a substitute for judgment. The rules prove a reviewer is allowed to approve. They do not prove the reviewer looked carefully. The next chapters turn to the rubric and the ways review fails.
Exercise
A requester asks the model for a draft, fixes two typos, and submits it. Their manager, who has the editor role, offers to approve it. The manager never touched the text. Under the rules in this chapter, can the manager approve, and what should you check first?
Show answer
The requester is the author, and the manager is not the author or an editor, so the author and editor rules do not block the manager. First check the manager's role for subject competence and for a conflict of interest. A manager over the requester may feel pressure to approve, so a declared or likely conflict should route the item to another reviewer. If the manager holds the needed role and has no conflict, they may approve.