coordinator: apply caller-policy changes without a restart

Ouverte
#2,740 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
28/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
rust

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Rust
Étoiles
2
Forks
0
Merge moyen
9 h 48 min
PR mergées (30 j)
151

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de registrystack/registry-stack

Toutes les issues de registrystack/registry-stack

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.