CRUD matrices and state tables
Two simple grids find missing requirements. One shows who can create, read, update or delete each record. The other shows every status change and which are not allowed.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: A staff access sheet. A shop keeps a sheet on the wall. Down the side are the things in the shop: the till, the stock room and the safe. Across the top are the staff: the owner, the helper and the cleaner. In each box is a note saying what that person may do with that thing. A blank box means nobody has thought about it, or that nobody may.
Software has a sheet like this, named for the four things you can do to a record: create, read, update and delete (). It is called a . The matrix shows, for each kind of record and each role, whether they can create, read, update or delete it. A status grid, also called a state table, is a second sheet. It has every status down the side and every event across the top. Each box shows the next status, or that the move is not allowed. A change of status that the rules do not allow is a forbidden status move.
Sam is the for Daily List, a to-do app. She builds both grids for the shared list feature. They show what nobody has asked for yet.
The picture has a limit. An access sheet lists who may act. A CRUD matrix for requirements also asks whether anyone is able to act at all.
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB The picture helps a newcomer remember that a grid makes you answer every box, and that a blank box is a question and not a rest.
- List records and roles
- Fill the create, read, update and delete (CRUD) letters
- Ask about each blank
- Build the status grid
- Turn boxes into tests
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| The staff access sheet on the wall | The create, read, update and delete (CRUD) matrix |
| The things in the shop down the side | The kinds of record |
| The staff across the top | The roles |
| A blank box on the sheet | A possible gap to ask the owner about |
| A second sheet of doors and the rules for each | The status grid |
| A door that the rules lock for good | A forbidden status move |
WHERE THIS PICTURE STOPS
- An access sheet lists who may act, but a create, read, update and delete (CRUD) matrix for requirements also asks whether anyone is able to act at all.
- A shop has a few things, but a product has many records, so the grid must be kept to the key ones.
- A shop sheet is read by staff, but a requirements grid is read by owners, builders and testers.
HOOK
Fill every box; a blank is a question.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
Usually a blank box on the access sheet is a question, not a no. Ask Nina whether it is on purpose, then write her answer as a requirement.
| In the trick | What it stands for |
|---|---|
| blank box | a possible gap to ask the owner about |
| Nina's answer | a requirement |
Some blanks are deliberate, such as a role that truly may not touch a record, so confirm before you add work.
TELL A FRIEND
A create, read, update and delete () matrix shows who can create, read, update or delete each record, and a blank is a question. A has a box for every status and event, so it shows forbidden moves too.
OFTEN MIXED UP WITH State diagrams: statuses and life cycles. That topic teaches how to draw the statuses and moves of a record. This topic adds a grid that checks every pair, and a second grid for rights.
PRACTISE AND KEEP
Sources for this topic — 3 sources
- Official requirement
Unified Modeling Language (UML) 2.5.1 specification page ↗ — Object Management Group · UML 2.5.1 December 2017, §§7.5,9.5.3,11.5,14,15,17–18: multiplicity, state/activity/interaction and use-case semantics; public normative PDF opened/read2026-11-06.
Official public catalogue/PDF retrieved and the cited sections read. UML 2.5.1 December 2017; §§7.5,9.5.3,11.5,14,15,17 and18 opened/read6 November 2026, including prior actor review. Original educational paraphrase; no source artwork copied.
- Market practice
CPRE Requirements Modeling syllabus 3.1.1,30 July 2024 ↗ — International Requirements Engineering Board · Requirements Modeling syllabus 3.1.1,30 July 2024, §§1–5 including4.8: purposeful views, information structures, functional/behavioural modelling, decomposition and scenarios; public PDF opened/read2026-11-06.
Primary public document opened and the cited material read on2026-11-06. Original educational paraphrase; no source figure copied. §§1–5: model purpose, information structures, functions, behaviour, decomposition and scenarios. Educational objectives, not mandatory product artefacts.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List, Sam, Nina, Leo and Tom are invented, and the rights and statuses are invented teaching choices. Sources for these two grids are practice guides, a course page and an reference entry, not a standard; we read short search excerpts only. Source versions and access limits are stated in the accompanying citations. These are invented educational examples, not official templates or universal obligations.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.