Using a Decision Table to Review Permission Rules
A decision table turns a small access policy into explicit cases that reviewers and tests can compare.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Build a small example
For a read-only user and an editor, list permitted actions on public and draft records. Consider who owns the draft. Use roles and ownership to define the row dimensions.
Include denied and allowed outcomes
A policy test should assert whether the operation was performed as well as its returned result. Adding an action should add meaningful cases to the decision table.[1]