From af087a816f870ea943c61624d496b1d5e4d090b9 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 20:52:59 +0000 Subject: 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. --- docs/access.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.3.1