feat: the Administrador may release orders to Finalizado too
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 3m34s
Build and deploy / Secret scan and release gate (push) Successful in 4s
Build and deploy / Publish images (push) Successful in 1m1s

D-29 keeps the release with the Revisor, so nobody in the room releases
their own print; the Administrador, Dropstar's own login, may release as
well (the user, 2026-10-28). Gestao, Designer and Operador still cannot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-28 10:34:24 -03:00
parent ee6344dc74
commit b08a258931
5 changed files with 14 additions and 13 deletions

View File

@@ -140,9 +140,10 @@ CAPABILITIES = {
}
# Who moves which card (Dropstar's flow, 2026-10-23, and their rules of
# 2026-10-26): the designer the artwork, the operator the printing, and only
# the Revisor (and we, the superadmin, for support) to Finalizado, so nobody
# releases their own print (D-29). Gestão, the coordination, pulls back and
# 2026-10-26): the designer the artwork, the operator the printing, and the
# Revisor to Finalizado, so nobody in the room releases their own print (D-29);
# Admin, Dropstar's own login, may release too (the user, 2026-10-28), and we,
# the superadmin, for support. Gestão, the coordination, pulls back and
# never forward, always with a reason (D-20): a step back, or Correção. Admin,
# Dropstar's own login, makes every other move. A step back undoes a mistaken
# move: open to whoever may make the move it undoes.
@@ -154,7 +155,7 @@ MOVES = {
ADMINS = ('superadmin', 'admin')
COORDINATION = ('gestao',)
MANAGERS = ADMINS + COORDINATION
RELEASERS = ('revisor', 'superadmin')
RELEASERS = ('revisor', 'admin', 'superadmin')
MOVERS = MANAGERS + tuple(MOVES)