Roles and access
Sheaf has three roles, three rights and per-section rules, and the server enforces them on every request, from people and API keys alike.
Roles
| Role | In short |
|---|---|
| Originator | Starts cases, uploads, runs and files. |
| Underwriter | The same rights; decisions are recorded under this role. |
| Manager | The same, plus the organization itself: people, webhooks, and revoking API keys. |
Every role holds the three platform rights: view, upload and edit. If the screen does not offer you an action, the server refuses it too. Settings in the app shows the current table.
Section rules
Each section of an expected document list adds rules per role: who sees it, and who may add to it. An upload into a section your role may not add to is refused with a 403 that names the section.
Organizations
Everything belongs to exactly one organization. A request for something in another organization returns 404, never 403: from outside, it does not exist.
API keys
Any of the three roles can make a key, for an agent or your own software. A Manager revokes it. A key acts as an Originator of its organization. It cannot reach people, keys, webhooks or passwords. See authentication.
Sheaf