From 4dc0d5795483d37f101bd8a9167c3194bb5a18e7 Mon Sep 17 00:00:00 2001 From: maia Date: Mon, 30 Nov 2026 14:46:38 +0100 Subject: [PATCH] swarm-authelia-bridge-sock: say that every verb is controller-only The ListOperators doc said every other verb admits any active token and this one is refused to other callers. The bridge's classify admits only the controller's client id, for all three verbs, and answers any other active token 403, as the README says. The doc understated the restriction. --- swarm-authelia-bridge-sock/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swarm-authelia-bridge-sock/src/lib.rs b/swarm-authelia-bridge-sock/src/lib.rs index 6d75e5dd7..4a373eb4d 100644 --- a/swarm-authelia-bridge-sock/src/lib.rs +++ b/swarm-authelia-bridge-sock/src/lib.rs @@ -61,9 +61,9 @@ pub enum BridgeRequest { /// The usernames in authelia's operator group — the subjects that reach /// operator-only surfaces. /// - /// ⚠️ **Only `swarm-controller`'s client may ask.** Every other verb - /// admits any active token; this one names who holds operator rights, so - /// the bridge refuses it to every other caller with `403`. + /// Like every verb, it is answered only to `swarm-controller`'s client: the + /// bridge refuses an active token issued to any other client with `403`, + /// and this one names who holds operator rights. ListOperators, }