diff options
| author | tv <tv@krebsco.de> | 2026-11-16 20:52:59 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 22:04:21 +0100 |
| commit | af087a816f870ea943c61624d496b1d5e4d090b9 (patch) | |
| tree | c6ccf79d6492c7721e169838f34a59ad524a4f1a /docs | |
| parent | e92a712c1e1419c3d680396be827aa0a85748999 (diff) | |
api: in a swarm holding a store, a node takes no token another issued
At its API, a node of a swarm holding a store takes no token another node issued
(`docs/store.md`, Members): whoever its operator lets in may use it, and its operator
lets in nobody through another node. A token every node of a swarm takes would let
whoever another operator let in in here too. `token::issued_here` refuses such a token
(`ElsewhereIssued`), behind the `federation` feature.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/access.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/access.md b/docs/access.md index 26026e9..71725e2 100644 --- a/docs/access.md +++ b/docs/access.md @@ -118,7 +118,8 @@ curl -H "Authorization: Bearer ct1.…" http://other-node:3000/store * **Who signs it**: the node it logged in on, with its node key. Every node takes a token signed by a member of the swarm (the member list gives the keys: a node ID is - its key), and none signed by another or since forgotten. + its key), and none signed by another or since forgotten; in a swarm holding a store + ([`store.md`](store.md), Members), only one it signed itself. * **What it says**: who, how it proved it, when it ends, and optionally less than the user may do (`limit`, capabilities as `POST /admin/users/{name}` takes them): never what the user may do. Every node judges a request by the registry it holds then, so |
