coordinator: apply caller-policy changes without a restart

Aperta
#2,740 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
9h 48m
PR unite (30g)
151

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di registrystack/registry-stack

Tutte le issue di registrystack/registry-stack

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.