feat: Dropstar's corrections of 21/10 that need no answer from them
All checks were successful
Build and deploy / Validate source (push) Successful in 1m30s
Build and deploy / Integration suite on a real stack (push) Successful in 4m2s
Build and deploy / Secret scan and release gate (push) Successful in 14s
Build and deploy / Publish images (push) Successful in 1m48s

- the home example priced as the ready sheet it shows (nota 92, R$ 14,90)
- opening hours 7h to 18h, and art sent at any time
- uploads up to 1 GB, every file scanned
- a Designer profile: artwork and corrections on every order, moving only
  among Arte recebida, Arte conferida and Correção
- Números by date range, per machine, and orders apart from passages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-22 10:09:15 -03:00
parent a2382f4834
commit d4494a0654
21 changed files with 279 additions and 89 deletions

View File

@@ -115,14 +115,19 @@ def login_failed(email):
rate_limit('auth-account', email, 1_000_000)
# What each Kanban profile may do. "view" is reading; "produce" moves cards and
# handles artwork; "manage" covers quotes, cancellations and payments; "users"
# is the Usuários page; "integrations" is everything in Integrações but the
# print room's folder (connecting Tiny, the checks, the backup, the Tiny log):
# the others see there only what is on and off.
ROLES = ('superadmin', 'admin', 'gestao', 'operador', 'vendedor')
# handles artwork; "print" is the print room's side of it (the machine, the
# queue's order, its files and folder); "manage" covers quotes, cancellations
# and payments; "users" is the Usuários page; "integrations" is everything in
# Integrações but the print room's folder (connecting Tiny, the checks, the
# backup, the Tiny log): the others see there only what is on and off.
# The designer approves and refuses artwork and asks for corrections, on every
# order whatever its machine, and moves cards only among DESIGNER_STATES.
ROLES = ('superadmin', 'admin', 'gestao', 'designer', 'operador', 'vendedor')
DESIGNER_STATES = ('rec', 'tra', 'cor')
CAPABILITIES = {
'view': set(ROLES),
'produce': {'superadmin', 'admin', 'gestao', 'operador'},
'produce': {'superadmin', 'admin', 'gestao', 'designer', 'operador'},
'print': {'superadmin', 'admin', 'gestao', 'operador'},
'manage': {'superadmin', 'admin', 'gestao'},
'users': {'superadmin', 'admin'},
'integrations': {'superadmin'},