# Mapping Roles and Workflows

> Write down what each role may do, where ownership lives, how invoices move through their states and where trust crosses a boundary, before you test any of it.

Canonical: https://codelivly.com/rooms/mapping-roles-and-workflows
Last updated: 2026-11-25

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 5 |
| Estimated time | 2 h 40 min |
| XP | 1150 |

Access control and business logic findings are gaps between what the application is meant to do and what it does. This room builds the first half. You work with the Ledgerline product manager to write a permission table for the owner, accountant and viewer roles, map which field says which organisation owns each object, model the invoice approval workflow as a state table, and record the trust boundaries around the payment gateway and the partner webhook. Nothing is tested in this room. The labs read documentation, call notes and exports, and every lesson has scenario questions that need judgment.

## Lessons

1. Roles, Permissions and the Permission Table (30 min)
2. Tenants and Where Ownership Lives (30 min)
3. Multi Step Workflows and State (30 min)
4. Trust Boundaries and Third Party Integrations (30 min)
5. Guided Lab: Model the Invoice Approval Workflow (40 min)

## Related

- [Learning path: Web Testing Workflow and Application Mapping](https://codelivly.com/learning-paths/web-testing-workflow-and-application-mapping)
- [All rooms](https://codelivly.com/rooms)
