Skip to content

Commit 096495b

Browse files
committed
docs(security): which administrator actions take a reason, and which don't
1 parent 1f18016 commit 096495b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎docs/dev/architecture/surfaces.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ first, and downloads it themselves.
184184

185185
When an administrator or operator acts:
186186

187-
- Every change needs their reason, renaming the handle included. It is stored with
187+
- Every change to a shared setting needs their reason, renaming the handle
188+
included. It is stored with
188189
each event as personal data, and the owner sees it in their security history,
189190
next to "By a Piquel administrator".
190191
- Events record the administrator or operator as their actor. Their reads are

‎docs/dev/security/threat-model.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ own. It builds on the [security boundaries](boundaries.md); the
7070
| Threat | Mitigation |
7171
| --- | --- |
7272
| Taking over an account | Administrators view, edit and remove, but never add a way in or an address; the types make it a compile error ([changing an account](../architecture/surfaces.md#changing-an-account-on-its-owners-behalf)). A recovery an administrator starts is only mailed, never shown to them. |
73-
| Acting without a trace | Every change is recorded with the administrator as its actor, and reads as views. Changes to an account on its owner's behalf need a reason, which the owner sees in their history; granting or revoking rights and enabling an account need none. |
73+
| Acting without a trace | Every change is recorded with the administrator as its actor, and reads as views. Changes to an account's settings on its owner's behalf, and most actions on the account, need a reason, most of which the owner sees in their history; granting or revoking rights, enabling an account and signing its sessions out need none. |
7474
| One administrator against another | An administrator may not change another administrator's account, nor their own rights or the last active administrator's. |
7575
| A stolen session reaching the dashboard | The dashboard needs a passkey sign-in, a confirmation of its own for every change, a request naming its host, and the tailnet ([admin.piquel.fr](../architecture/surfaces.md#adminpiquelfr)). |
7676

0 commit comments

Comments
 (0)