Watch
0
0
Fork
You've already forked hyperhive
0

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.
This commit is contained in:
maia 2026-11-30 14:46:38 +01:00 • committed by mara
commit 4dc0d57954

View file

@ -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,
}