coordinator: apply caller-policy changes without a restart

Offen
#2,740 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
28/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust

Rechercherichtung

Start from the Coordinator startup path that reads authentication.policies.<client>.subjects and from the coordinatorctl command dispatch, then trace where caller-policy validation and token authorization use the loaded policy. The change needs an explicit reload path that reuses start-time validation, swaps policy versions atomically for in-flight tokens, keeps the old policy on failure, and emits an audit record. Finish by updating the operate guide's “Admit callers” section; tests should cover successful reload, refused reload, and in-flight token behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Coordinator reads its caller policies at start. Adding or removing a named operator subject (authentication.policies.<client>.subjects) therefore means restarting every Coordinator service. The same applies to changing a policy's scopes or actions.

Each operator is listed by exact subject, so the list changes whenever staff change. A restart is a heavy price for that routine change.

Ask

  • Apply caller-policy changes without a restart: on a signal or an explicit coordinatorctl command, after the same validation as start.
  • Keep the current rules. A token in flight is judged under one policy version, a refused reload leaves the running policy in place, and the change is audited.
  • Document it in the operate guide's "Admit callers" section.

Out of scope: issuer, audience or signing-key changes, which can keep needing a restart.

Vorherrschende Sprache
Rust
Sterne
2
Forks
0
Ø Merge
9 Std. 48 Min.
Gemergte PRs (30 T.)
151

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus registrystack/registry-stack

Alle Issues in registrystack/registry-stack

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.