coordinator: apply caller-policy changes without a restart

Aberta
#2,740 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
28/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
2
Forks
0
Merge médio
9h 48min
PRs com merge (30d)
151

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de registrystack/registry-stack

Todas as issues de registrystack/registry-stack

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.