Skip to content

Commit 2c203b1

Browse files
committed
docs(dev): which session sign-outs take a reason, and a reflowed list item
1 parent 096495b commit 2c203b1

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎docs/dev/architecture/surfaces.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,8 @@ first, and downloads it themselves.
185185
When an administrator or operator acts:
186186

187187
- Every change to a shared setting needs their reason, renaming the handle
188-
included. It is stored with
189-
each event as personal data, and the owner sees it in their security history,
190-
next to "By a Piquel administrator".
188+
included. It is stored with each event as personal data, and the owner sees
189+
it in their security history, next to "By a Piquel administrator".
191190
- Events record the administrator or operator as their actor. Their reads are
192191
recorded as a view of the account, as `user show` is, once an hour per
193192
administrator session or operator. The owner's history leaves views out: it

‎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'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. |
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 from the account's dashboard page or with `session revoke` and `session revoke-all` 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)